Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_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.001044/0.001044, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009797/0.009797, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003272, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5546, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003471/0.5581, allocations: 3.75 MB / 0.9588 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.56, allocations: 1.561 MB / 0.9604 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.5602, allocations: 9.438 kB / 0.9604 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.5604, allocations: 65.11 kB / 0.9604 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.5608, allocations: 219.2 kB / 0.9606 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.5612, allocations: 199.8 kB / 0.9608 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.5619, allocations: 0.7683 MB / 0.9616 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.5623, allocations: 453.2 kB / 0.962 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.5625, allocations: 176.4 kB / 0.9622 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.5629, allocations: 244.5 kB / 0.9624 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.563, allocations: 18.84 kB / 0.9624 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.5632, allocations: 190.5 kB / 0.9626 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.5634, allocations: 125.1 kB / 0.9627 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.5635, allocations: 203.1 kB / 0.9629 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.5639, allocations: 0.5055 MB / 0.9634 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.564, allocations: 4 kB / 0.9634 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.564, allocations: 0 / 0.9634 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.564, allocations: 0 / 0.9634 GB, free: 1.582 MB / 0.7169 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.0008965/0.5649, allocations: 0.6238 MB / 0.964 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5649, allocations: 10 kB / 0.964 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.232e-05/0.565, allocations: 72.44 kB / 0.9641 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006725/0.5657, allocations: 113.9 kB / 0.9642 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.566, allocations: 295.5 kB / 0.9645 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.5661, allocations: 59.17 kB / 0.9645 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.5661, allocations: 36.95 kB / 0.9646 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.5668, allocations: 0.5007 MB / 0.9651 GB, free: 272 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5668, allocations: 5 kB / 0.9651 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.5669, allocations: 19.05 kB / 0.9651 GB, free: 252 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.5669, allocations: 28.58 kB / 0.9651 GB, free: 244 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.5676, allocations: 391.3 kB / 0.9655 GB, free: 60 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.5699, allocations: 2.221 MB / 0.9677 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.5706, allocations: 269.5 kB / 0.9679 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.571, allocations: 158.7 kB / 0.9681 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.571, allocations: 2 kB / 0.9681 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.571, allocations: 35.69 kB / 0.9681 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.571, allocations: 1.094 kB / 0.9681 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001519/0.5726, allocations: 0.5927 MB / 0.9687 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5726, allocations: 53.38 kB / 0.9687 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.5728, allocations: 232.1 kB / 0.969 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5729, allocations: 30.7 kB / 0.969 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.573, allocations: 211.2 kB / 0.9692 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.573, allocations: 63.31 kB / 0.9693 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.5731, allocations: 32.83 kB / 0.9693 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5732, allocations: 332.3 kB / 0.9696 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.5734, allocations: 92.34 kB / 0.9697 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.5737, allocations: 190.1 kB / 0.9699 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.5742, allocations: 285.1 kB / 0.9701 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5742, allocations: 5.125 kB / 0.9701 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008653/0.5751, allocations: 390.4 kB / 0.9705 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.5752, allocations: 167.4 kB / 0.9707 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5752, allocations: 2.656 kB / 0.9707 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/0.5757, allocations: 112.6 kB / 0.9708 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.5759, allocations: 48.17 kB / 0.9708 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.5788, allocations: 2.838 MB / 0.9736 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.579, allocations: 33.84 kB / 0.9736 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.5791, allocations: 9 kB / 0.9736 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.5791, allocations: 7.672 kB / 0.9737 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007422/0.5798, allocations: 316.9 kB / 0.974 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5798, allocations: 6.062 kB / 0.974 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.5801, allocations: 79.12 kB / 0.974 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5804, allocations: 58.84 kB / 0.9741 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.5821, allocations: 1.5 MB / 0.9756 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.5824, allocations: 28.77 kB / 0.9756 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.5824, allocations: 7.812 kB / 0.9756 GB, free: 7.016 MB / 0.7325 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.0002291/0.5826, allocations: 248.7 kB / 0.9758 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.5827, allocations: 22.36 kB / 0.9759 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.5828, allocations: 32.16 kB / 0.9759 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5828, allocations: 9.969 kB / 0.9759 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5828, allocations: 4 kB / 0.9759 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5828, allocations: 0.9688 kB / 0.9759 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.5841, allocations: 0.8423 MB / 0.9767 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5841, allocations: 1.031 kB / 0.9767 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.5843, allocations: 33.42 kB / 0.9768 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.5847, allocations: 113.7 kB / 0.9769 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.5847, allocations: 1.531 kB / 0.9769 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.5872, allocations: 2.801 MB / 0.9796 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5873, allocations: 9.359 kB / 0.9796 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.588, allocations: 422.6 kB / 0.98 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.986e-05/0.5881, allocations: 121.2 kB / 0.9801 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.5882, allocations: 6.938 kB / 0.9801 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.5883, allocations: 14.73 kB / 0.9801 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.5884, allocations: 20.69 kB / 0.9802 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.5884, allocations: 13.62 kB / 0.9802 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001342/0.5886, allocations: 158.7 kB / 0.9803 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5886, allocations: 0 / 0.9803 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006062/0.5892, allocations: 172.1 kB / 0.9805 GB, free: 2.57 MB / 0.7325 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.00097/0.5902, allocations: 0.9637 MB / 0.9814 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.5919, allocations: 0.7632 MB / 0.9822 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5919, allocations: 4.062 kB / 0.9822 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.5927, allocations: 376.4 kB / 0.9825 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.5931, allocations: 54.83 kB / 0.9826 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.5968, allocations: 3.026 MB / 0.9856 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.5972, allocations: 0.8117 MB / 0.9863 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.5974, allocations: 50.25 kB / 0.9864 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.5975, allocations: 87.41 kB / 0.9865 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of SimCode: time 3.8e-07/0.5975, allocations: 0 / 0.9865 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.73/2.328, allocations: 6.64 MB / 0.993 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/2.328, allocations: 239.6 kB / 0.9932 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/4.315, allocations: 4 kB / 0.9932 GB, free: 6.82 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat