Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007749/0.007749, allocations: 99.86 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 192.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 1.018 GB, free: 9.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7462, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005431/0.7517, allocations: 4.105 MB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.7541, allocations: 1.597 MB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.7544, allocations: 8 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.756, allocations: 0.5813 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.7566, allocations: 238.9 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.7572, allocations: 212.8 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007529/0.7579, allocations: 0.5452 MB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007934/0.7587, allocations: 477.4 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.7592, allocations: 227.3 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.7598, allocations: 255 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.221e-05/0.7599, allocations: 32 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.7603, allocations: 167.7 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.7605, allocations: 151.7 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.7607, allocations: 191.1 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.7613, allocations: 0.5253 MB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7613, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7613, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.7613, allocations: 0 / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001237/0.7626, allocations: 0.6976 MB / 1.176 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7626, allocations: 8.922 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.418e-05/0.7627, allocations: 82.59 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007398/0.7635, allocations: 104.6 kB / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.7639, allocations: 307.8 kB / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.764, allocations: 55.25 kB / 1.176 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.7641, allocations: 36.38 kB / 1.176 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.7649, allocations: 0.5046 MB / 1.177 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.7649, allocations: 0 / 1.177 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.7649, allocations: 12 kB / 1.177 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/0.765, allocations: 36.97 kB / 1.177 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.7657, allocations: 379.7 kB / 1.177 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.7681, allocations: 2.201 MB / 1.179 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.7688, allocations: 254.6 kB / 1.18 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.7692, allocations: 152.8 kB / 1.18 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.7692, allocations: 8 kB / 1.18 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.7692, allocations: 34.55 kB / 1.18 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.7692, allocations: 0 / 1.18 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.001478/0.7707, allocations: 0.5735 MB / 1.18 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.7707, allocations: 51.41 kB / 1.181 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.771, allocations: 232.9 kB / 1.181 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.771, allocations: 29.7 kB / 1.181 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.7711, allocations: 212.2 kB / 1.181 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.7712, allocations: 67.44 kB / 1.181 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.7713, allocations: 53.66 kB / 1.181 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7714, allocations: 338.8 kB / 1.181 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.7716, allocations: 96.73 kB / 1.182 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.7719, allocations: 187 kB / 1.182 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.7724, allocations: 275.3 kB / 1.182 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7724, allocations: 7.938 kB / 1.182 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008506/0.7733, allocations: 371 kB / 1.182 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.7733, allocations: 8 kB / 1.182 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7733, allocations: 0 / 1.182 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.7738, allocations: 113.7 kB / 1.182 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.7741, allocations: 59.84 kB / 1.182 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.7773, allocations: 3.053 MB / 1.185 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.7775, allocations: 31.83 kB / 1.185 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.7776, allocations: 12 kB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00032/0.7779, allocations: 228 kB / 1.186 GB, free: 14.87 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002619/0.7782, allocations: 179.1 kB / 1.186 GB, free: 14.65 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004637/0.7786, allocations: 266.9 kB / 1.186 GB, free: 14.36 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.073e-06/0.7787, allocations: 0 / 1.186 GB, free: 14.36 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007882/0.7794, allocations: 356.1 kB / 1.186 GB, free: 14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.7795, allocations: 8 kB / 1.186 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7795, allocations: 8.312 kB / 1.187 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.7798, allocations: 80.72 kB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.7801, allocations: 55.91 kB / 1.187 GB, free: 13.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.782, allocations: 1.614 MB / 1.188 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.7823, allocations: 39.86 kB / 1.188 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.7823, allocations: 8 kB / 1.188 GB, free: 12.05 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.7824, allocations: 196.7 kB / 1.188 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.7825, allocations: 23.86 kB / 1.188 GB, free: 11.83 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.7826, allocations: 30.19 kB / 1.188 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7826, allocations: 3.984 kB / 1.188 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7826, allocations: 3.938 kB / 1.189 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7826, allocations: 4 kB / 1.189 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.784, allocations: 0.829 MB / 1.189 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.784, allocations: 0 / 1.189 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.7841, allocations: 27.98 kB / 1.189 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.7845, allocations: 101.7 kB / 1.189 GB, free: 10.74 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.7846, allocations: 11.94 kB / 1.189 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.7879, allocations: 3.024 MB / 1.192 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7879, allocations: 0 / 1.192 GB, free: 7.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.7892, allocations: 415.1 kB / 1.193 GB, free: 6.996 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.7893, allocations: 120.8 kB / 1.193 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.7894, allocations: 0 / 1.193 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.7897, allocations: 15.98 kB / 1.193 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.7898, allocations: 23.91 kB / 1.193 GB, free: 6.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.7898, allocations: 8 kB / 1.193 GB, free: 6.812 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000222/0.7901, allocations: 164.5 kB / 1.193 GB, free: 6.652 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7901, allocations: 0 / 1.193 GB, free: 6.652 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001021/0.7911, allocations: 171.5 kB / 1.193 GB, free: 6.484 MB / 0.92 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.7927, allocations: 0.9444 MB / 1.194 GB, free: 5.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002886/0.7956, allocations: 0.7659 MB / 1.195 GB, free: 4.699 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7956, allocations: 0 / 1.195 GB, free: 4.699 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.7969, allocations: 376.1 kB / 1.195 GB, free: 4.309 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.7976, allocations: 60.09 kB / 1.195 GB, free: 4.246 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.8036, allocations: 2.862 MB / 1.198 GB, free: 1.23 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.804, allocations: 0.8145 MB / 1.199 GB, free: 400 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.8042, allocations: 62.22 kB / 1.199 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.8043, allocations: 91.34 kB / 1.199 GB, free: 244 kB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.8043, allocations: 0 / 1.199 GB, free: 244 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.8344, allocations: 7.353 MB / 1.206 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.69, allocations: 22.05 kB / 1.206 GB, free: 9.035 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)