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.004352/0.004352, allocations: 100.9 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.001244/0.001244, 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.343/2.343, allocations: 437.1 MB / 0.7106 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001777, allocations: 71.88 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6484, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005259/0.6537, allocations: 4.107 MB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.6559, allocations: 1.589 MB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.6561, allocations: 8 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.6575, allocations: 0.5851 MB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.6579, allocations: 234.8 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.6584, allocations: 220.6 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000537/0.6589, allocations: 0.5413 MB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006234/0.6595, allocations: 472.5 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.6598, allocations: 231.2 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.6602, allocations: 251.2 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.6602, allocations: 36 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.6605, allocations: 163.7 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.6607, allocations: 147.6 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.6608, allocations: 199.1 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.6614, allocations: 0.5302 MB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.6614, allocations: 0 / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6614, allocations: 0 / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.6614, allocations: 0 / 1.175 GB, free: 10.41 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.001091/0.6625, allocations: 0.6898 MB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.6626, allocations: 16.86 kB / 1.176 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/0.6627, allocations: 70.72 kB / 1.176 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.6633, allocations: 108.6 kB / 1.176 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.6637, allocations: 307.7 kB / 1.176 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.6637, allocations: 55.27 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.6638, allocations: 32.38 kB / 1.176 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.6646, allocations: 0.5046 MB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.6646, allocations: 0 / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.753e-05/0.6646, allocations: 15.98 kB / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.6647, allocations: 40.97 kB / 1.177 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.6654, allocations: 375.7 kB / 1.177 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.6676, allocations: 2.2 MB / 1.18 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006446/0.6683, allocations: 258.6 kB / 1.18 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.6686, allocations: 148.8 kB / 1.18 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.6687, allocations: 4 kB / 1.18 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.6687, allocations: 38.56 kB / 1.18 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.6687, allocations: 4 kB / 1.18 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.00139/0.6701, allocations: 0.566 MB / 1.18 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.6701, allocations: 55.41 kB / 1.181 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.6703, allocations: 228.9 kB / 1.181 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.6704, allocations: 33.7 kB / 1.181 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6705, allocations: 208.2 kB / 1.181 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.6706, allocations: 79.41 kB / 1.181 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.6707, allocations: 53.66 kB / 1.181 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6708, allocations: 334.8 kB / 1.181 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.671, allocations: 96.8 kB / 1.182 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.6713, allocations: 187.5 kB / 1.182 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.6718, allocations: 269.3 kB / 1.182 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.6718, allocations: 3.938 kB / 1.182 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008155/0.6726, allocations: 389.2 kB / 1.182 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6726, allocations: 4 kB / 1.182 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6726, allocations: 4 kB / 1.182 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.6731, allocations: 109.8 kB / 1.182 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.6733, allocations: 51.84 kB / 1.183 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.6764, allocations: 3.058 MB / 1.185 GB, free: 15.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.6767, allocations: 31.92 kB / 1.186 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.6767, allocations: 12 kB / 1.186 GB, free: 15 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003074/0.677, allocations: 216 kB / 1.186 GB, free: 14.78 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000263/0.6773, allocations: 184.8 kB / 1.186 GB, free: 14.56 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004405/0.6777, allocations: 269.2 kB / 1.186 GB, free: 14.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.432e-06/0.6778, allocations: 7.984 kB / 1.186 GB, free: 14.26 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007377/0.6785, allocations: 351.8 kB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.6785, allocations: 7.984 kB / 1.187 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6785, allocations: 4 kB / 1.187 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/0.6788, allocations: 77.11 kB / 1.187 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.679, allocations: 55.91 kB / 1.187 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.6809, allocations: 1.62 MB / 1.188 GB, free: 12.01 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.6812, allocations: 31.81 kB / 1.188 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.6812, allocations: 20 kB / 1.188 GB, free: 11.96 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.0001167/0.6813, allocations: 188.2 kB / 1.188 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.6814, allocations: 23.86 kB / 1.188 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.6814, allocations: 30.17 kB / 1.189 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.6814, allocations: 4 kB / 1.189 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6814, allocations: 3.938 kB / 1.189 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.6814, allocations: 0 / 1.189 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.6827, allocations: 0.8251 MB / 1.189 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6828, allocations: 4 kB / 1.189 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.6829, allocations: 36.03 kB / 1.189 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.6833, allocations: 109.8 kB / 1.189 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.6833, allocations: 7.938 kB / 1.189 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.6861, allocations: 3.012 MB / 1.192 GB, free: 7.344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6862, allocations: 4.125 kB / 1.192 GB, free: 7.34 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.6869, allocations: 415.2 kB / 1.193 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.687, allocations: 128.8 kB / 1.193 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.6871, allocations: 8 kB / 1.193 GB, free: 6.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.6872, allocations: 7.984 kB / 1.193 GB, free: 6.746 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.6873, allocations: 19.92 kB / 1.193 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.6873, allocations: 15.98 kB / 1.193 GB, free: 6.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001383/0.6875, allocations: 156.5 kB / 1.193 GB, free: 6.559 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6875, allocations: 4 kB / 1.193 GB, free: 6.555 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005476/0.688, allocations: 175.5 kB / 1.193 GB, free: 6.383 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.001017/0.689, allocations: 0.9412 MB / 1.194 GB, free: 5.406 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.6909, allocations: 0.7679 MB / 1.195 GB, free: 4.602 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6909, allocations: 0 / 1.195 GB, free: 4.602 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.6916, allocations: 369.7 kB / 1.195 GB, free: 4.215 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.692, allocations: 68.75 kB / 1.195 GB, free: 4.145 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.6959, allocations: 2.85 MB / 1.198 GB, free: 1.133 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.6963, allocations: 0.8184 MB / 1.199 GB, free: 292 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.6965, allocations: 58.23 kB / 1.199 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.6966, allocations: 91.41 kB / 1.199 GB, free: 140 kB / 0.92 GB Notification: Performance of SimCode: time 3.01e-07/0.6966, allocations: 0 / 1.199 GB, free: 140 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.945/2.642, allocations: 7.355 MB / 1.206 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.33/22.97, allocations: 14.2 kB / 1.206 GB, free: 8.934 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat