Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_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.000761/0.0007611, allocations: 92.2 kB / 16.03 MB, free: 56 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009105/0.0009107, allocations: 185.3 kB / 16.93 MB, free: 6.891 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.281/1.281, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.643/0.643, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 13.55 kB / 496 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 77.52 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004588/0.1543, allocations: 3.74 MB / 0.5637 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1568, allocations: 1.559 MB / 0.5652 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.1571, allocations: 4 kB / 0.5652 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1574, allocations: 67.48 kB / 0.5653 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.158, allocations: 223 kB / 0.5655 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1586, allocations: 203.1 kB / 0.5657 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008801/0.1595, allocations: 0.7675 MB / 0.5664 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.1601, allocations: 450.6 kB / 0.5669 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.1605, allocations: 175.3 kB / 0.567 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.1609, allocations: 243.1 kB / 0.5673 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.161, allocations: 20 kB / 0.5673 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.1614, allocations: 195.6 kB / 0.5675 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1615, allocations: 131.7 kB / 0.5676 GB, free: 1.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1618, allocations: 200.8 kB / 0.5678 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006034/0.1624, allocations: 0.5022 MB / 0.5683 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1624, allocations: 0 / 0.5683 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1624, allocations: 0 / 0.5683 GB, free: 420 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.1624, allocations: 0 / 0.5683 GB, free: 420 kB / 430.1 MB 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.001154/0.1636, allocations: 0.6241 MB / 0.5689 GB, free: 15.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1636, allocations: 12.03 kB / 0.5689 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1637, allocations: 78.7 kB / 0.569 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007141/0.1645, allocations: 108.4 kB / 0.5691 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1648, allocations: 291.6 kB / 0.5694 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.1649, allocations: 59.25 kB / 0.5694 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-05/0.165, allocations: 32.38 kB / 0.5694 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/0.1658, allocations: 0.5085 MB / 0.5699 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1659, allocations: 4 kB / 0.5699 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.1659, allocations: 19.94 kB / 0.57 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/0.166, allocations: 24.98 kB / 0.57 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.1667, allocations: 399.6 kB / 0.5704 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.1692, allocations: 2.224 MB / 0.5725 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.1699, allocations: 264.5 kB / 0.5728 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/0.1703, allocations: 156.8 kB / 0.5729 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.1704, allocations: 3.984 kB / 0.573 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1704, allocations: 46.56 kB / 0.573 GB, free: 11.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.755e-06/0.1704, allocations: 3.984 kB / 0.573 GB, free: 11.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001542/0.172, allocations: 0.5907 MB / 0.5736 GB, free: 10.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.172, allocations: 51.41 kB / 0.5736 GB, free: 10.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1722, allocations: 225 kB / 0.5738 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.1723, allocations: 29.7 kB / 0.5739 GB, free: 10.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1724, allocations: 215.6 kB / 0.5741 GB, free: 10.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.1725, allocations: 59.11 kB / 0.5741 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.1725, allocations: 29.7 kB / 0.5742 GB, free: 9.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1726, allocations: 330.8 kB / 0.5745 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1729, allocations: 99.88 kB / 0.5746 GB, free: 9.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.1731, allocations: 183.1 kB / 0.5747 GB, free: 9.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.1736, allocations: 287.3 kB / 0.575 GB, free: 8.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1736, allocations: 3.938 kB / 0.575 GB, free: 8.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008652/0.1745, allocations: 388.7 kB / 0.5754 GB, free: 8.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1746, allocations: 157.7 kB / 0.5755 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1746, allocations: 8 kB / 0.5755 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.1751, allocations: 109.6 kB / 0.5757 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.1754, allocations: 51.91 kB / 0.5757 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/0.1784, allocations: 2.837 MB / 0.5785 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.1787, allocations: 43.61 kB / 0.5785 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1787, allocations: 8 kB / 0.5785 GB, free: 5.059 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.1787, allocations: 4 kB / 0.5785 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007388/0.1795, allocations: 318.1 kB / 0.5788 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1795, allocations: 4.312 kB / 0.5788 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.1798, allocations: 76.78 kB / 0.5789 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.18, allocations: 63.91 kB / 0.579 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.1819, allocations: 1.492 MB / 0.5804 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.1821, allocations: 35.77 kB / 0.5805 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1821, allocations: 12.06 kB / 0.5805 GB, free: 2.93 MB / 446.1 MB 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.0002319/0.1824, allocations: 250.6 kB / 0.5807 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.1824, allocations: 19.72 kB / 0.5807 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.1825, allocations: 34.11 kB / 0.5808 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1825, allocations: 3.938 kB / 0.5808 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1825, allocations: 0 / 0.5808 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1825, allocations: 0 / 0.5808 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.1839, allocations: 0.8443 MB / 0.5816 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1839, allocations: 0 / 0.5816 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.184, allocations: 31.92 kB / 0.5816 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003711/0.1844, allocations: 105.7 kB / 0.5817 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.1845, allocations: 7.984 kB / 0.5817 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2475/0.4319, allocations: 2.8 MB / 0.5845 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.432, allocations: 4.438 kB / 0.5845 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008693/0.4329, allocations: 417.4 kB / 0.5849 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.433, allocations: 122.5 kB / 0.585 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.433, allocations: 4.578 kB / 0.585 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.4332, allocations: 17.91 kB / 0.585 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.4333, allocations: 19.03 kB / 0.585 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.4333, allocations: 8.438 kB / 0.585 GB, free: 27.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.4335, allocations: 162.8 kB / 0.5852 GB, free: 27.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4335, allocations: 0 / 0.5852 GB, free: 27.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.4341, allocations: 174.7 kB / 0.5854 GB, free: 27.91 MB / 446.1 MB 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.0009412/0.4351, allocations: 0.9564 MB / 0.5863 GB, free: 27.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.4369, allocations: 0.7751 MB / 0.587 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4369, allocations: 0 / 0.587 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.4377, allocations: 373.5 kB / 0.5874 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.4382, allocations: 55.5 kB / 0.5875 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.4422, allocations: 3.022 MB / 0.5904 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.4425, allocations: 0.8105 MB / 0.5912 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.4427, allocations: 55.83 kB / 0.5912 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4429, allocations: 88.61 kB / 0.5913 GB, free: 24.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4429, allocations: 0 / 0.5913 GB, free: 24.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.4625, allocations: 6.621 MB / 0.5978 GB, free: 23.87 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.4627, allocations: 239.2 kB / 0.598 GB, free: 23.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.239, allocations: 0 / 0.598 GB, free: 23.6 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)