Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 174.4 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 0.578 GB, free: 20.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008526/0.0008525, allocations: 89.66 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 11.19 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2354, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004157/0.2395, allocations: 3.501 MB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002749/0.2423, allocations: 1.754 MB / 0.906 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.2427, allocations: 7.938 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.2431, allocations: 59.5 kB / 0.9061 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008065/0.2439, allocations: 227 kB / 0.9063 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.2447, allocations: 234.2 kB / 0.9065 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008146/0.2455, allocations: 0.7013 MB / 0.9072 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005304/0.2461, allocations: 357.5 kB / 0.9076 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.2464, allocations: 159.3 kB / 0.9077 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.2469, allocations: 227.1 kB / 0.9079 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.247, allocations: 16 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.2475, allocations: 231.5 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.2477, allocations: 115.7 kB / 0.9083 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.248, allocations: 188.8 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006186/0.2486, allocations: 486.5 kB / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2486, allocations: 0 / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2486, allocations: 3.938 kB / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.2487, allocations: 4 kB / 0.9089 GB, free: 55.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001314/0.25, allocations: 0.6004 MB / 0.9095 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.25, allocations: 12.03 kB / 0.9095 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/0.2502, allocations: 66.72 kB / 0.9096 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000697/0.2509, allocations: 84.41 kB / 0.9097 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.2513, allocations: 299.3 kB / 0.91 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.2513, allocations: 21.03 kB / 0.91 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.2513, allocations: 32.36 kB / 0.91 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.2521, allocations: 0.4939 MB / 0.9105 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.2521, allocations: 3.938 kB / 0.9105 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.2522, allocations: 12 kB / 0.9105 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.2522, allocations: 36.64 kB / 0.9106 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/0.2529, allocations: 386.3 kB / 0.9109 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.2546, allocations: 2.044 MB / 0.9129 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.2552, allocations: 234.7 kB / 0.9131 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.2556, allocations: 168.8 kB / 0.9133 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2557, allocations: 4 kB / 0.9133 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2557, allocations: 34.56 kB / 0.9133 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.845e-06/0.2557, allocations: 0 / 0.9133 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001001/0.2567, allocations: 466.9 kB / 0.9138 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2567, allocations: 51.41 kB / 0.9138 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.257, allocations: 258.7 kB / 0.9141 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.257, allocations: 33.7 kB / 0.9141 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2571, allocations: 211.6 kB / 0.9143 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.2571, allocations: 67.09 kB / 0.9144 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.2572, allocations: 11.94 kB / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.2572, allocations: 334.8 kB / 0.9147 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.2575, allocations: 100.5 kB / 0.9148 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.2577, allocations: 215.6 kB / 0.915 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.2582, allocations: 332.1 kB / 0.9153 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2582, allocations: 0 / 0.9153 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007514/0.259, allocations: 385.9 kB / 0.9157 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.2591, allocations: 194 kB / 0.9159 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2591, allocations: 4 kB / 0.9159 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.2593, allocations: 36.77 kB / 0.9159 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.2596, allocations: 75.89 kB / 0.916 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000918/0.2605, allocations: 1.333 MB / 0.9173 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2608, allocations: 43.67 kB / 0.9173 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2608, allocations: 12 kB / 0.9173 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.2608, allocations: 4 kB / 0.9173 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005325/0.2614, allocations: 303.8 kB / 0.9176 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2614, allocations: 4 kB / 0.9176 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.2614, allocations: 11.94 kB / 0.9177 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2617, allocations: 76.08 kB / 0.9177 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2617, allocations: 4 kB / 0.9177 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2619, allocations: 47.75 kB / 0.9178 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2619, allocations: 12 kB / 0.9178 GB, free: 45.33 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.2621, allocations: 246.5 kB / 0.918 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.2621, allocations: 31.62 kB / 0.9181 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.2622, allocations: 38.11 kB / 0.9181 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2622, allocations: 0 / 0.9181 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2622, allocations: 4 kB / 0.9181 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2622, allocations: 0 / 0.9181 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.2632, allocations: 0.7702 MB / 0.9188 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2633, allocations: 4.062 kB / 0.9188 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2635, allocations: 47.84 kB / 0.9189 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.835e-05/0.2636, allocations: 28.84 kB / 0.9189 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2636, allocations: 4 kB / 0.9189 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007161/0.2643, allocations: 1.319 MB / 0.9202 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2643, allocations: 3.938 kB / 0.9202 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.2649, allocations: 392 kB / 0.9206 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.265, allocations: 116.7 kB / 0.9207 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.265, allocations: 15.94 kB / 0.9207 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.2652, allocations: 23.97 kB / 0.9207 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.2653, allocations: 15.98 kB / 0.9208 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2653, allocations: 4 kB / 0.9208 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000138/0.2654, allocations: 190 kB / 0.9209 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2654, allocations: 0 / 0.9209 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005373/0.266, allocations: 139.5 kB / 0.9211 GB, free: 41.69 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007562/0.2667, allocations: 0.9235 MB / 0.922 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009292/0.2677, allocations: 0.5028 MB / 0.9225 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2677, allocations: 5 kB / 0.9225 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.268, allocations: 234.7 kB / 0.9227 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.2685, allocations: 62.75 kB / 0.9228 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.2717, allocations: 3.075 MB / 0.9258 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2719, allocations: 0.7996 MB / 0.9265 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002394/0.2722, allocations: 70.17 kB / 0.9266 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2723, allocations: 91.41 kB / 0.9267 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.2723, allocations: 0 / 0.9267 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01652/0.2888, allocations: 5.73 MB / 0.9323 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.289, allocations: 243.2 kB / 0.9325 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.289, allocations: 0 / 0.9325 GB, free: 29.88 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)