Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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: translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000791/0.0007913, allocations: 88.17 kB / 15.7 MB, free: 460 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.000879/0.000879, allocations: 173.7 kB / 16.58 MB, free: 6.395 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.367/1.367, allocations: 223.3 MB / 240.6 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6947/0.6947, allocations: 115.5 MB / 407.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 11.98 kB / 495.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 77.52 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004507/0.1651, allocations: 3.332 MB / 0.5626 GB, free: 6.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.1679, allocations: 1.61 MB / 0.5641 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1681, allocations: 11.94 kB / 0.5642 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1683, allocations: 55.56 kB / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004332/0.1688, allocations: 183.1 kB / 0.5644 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.1692, allocations: 147.7 kB / 0.5645 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.1698, allocations: 0.5374 MB / 0.5651 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004524/0.1702, allocations: 285.1 kB / 0.5653 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1704, allocations: 151.4 kB / 0.5655 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.1708, allocations: 203.3 kB / 0.5657 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.1708, allocations: 16 kB / 0.5657 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.1712, allocations: 123.8 kB / 0.5658 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1713, allocations: 111.7 kB / 0.5659 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1714, allocations: 89.45 kB / 0.566 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.1719, allocations: 371.2 kB / 0.5663 GB, free: 2.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1719, allocations: 0 / 0.5663 GB, free: 2.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1719, allocations: 0 / 0.5663 GB, free: 2.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1719, allocations: 4 kB / 0.5663 GB, free: 2.148 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009494/0.1728, allocations: 0.5791 MB / 0.5669 GB, free: 1.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1729, allocations: 12.03 kB / 0.5669 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008412/0.1737, allocations: 139.5 kB / 0.5671 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.1742, allocations: 274.5 kB / 0.5673 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1742, allocations: 20.66 kB / 0.5673 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.1743, allocations: 31.98 kB / 0.5674 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.175, allocations: 471.5 kB / 0.5678 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.175, allocations: 3.938 kB / 0.5678 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.175, allocations: 12 kB / 0.5678 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.1751, allocations: 24.55 kB / 0.5679 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.1756, allocations: 321.9 kB / 0.5682 GB, free: 164 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.178, allocations: 2.185 MB / 0.5703 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.1784, allocations: 247.8 kB / 0.5705 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1786, allocations: 112.8 kB / 0.5706 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1787, allocations: 7.984 kB / 0.5706 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1787, allocations: 34.56 kB / 0.5707 GB, free: 13.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1787, allocations: 0 / 0.5707 GB, free: 13.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005874/0.1793, allocations: 303.4 kB / 0.571 GB, free: 13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1793, allocations: 55.41 kB / 0.571 GB, free: 12.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.1796, allocations: 266.5 kB / 0.5713 GB, free: 12.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1797, allocations: 29.7 kB / 0.5713 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1798, allocations: 203.8 kB / 0.5715 GB, free: 12.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1798, allocations: 59.27 kB / 0.5716 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.1799, allocations: 4 kB / 0.5716 GB, free: 12.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.18, allocations: 330.8 kB / 0.5719 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1801, allocations: 56.44 kB / 0.5719 GB, free: 11.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1803, allocations: 145 kB / 0.5721 GB, free: 11.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1804, allocations: 83.97 kB / 0.5721 GB, free: 11.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1804, allocations: 4 kB / 0.5722 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004919/0.1809, allocations: 269.8 kB / 0.5724 GB, free: 11.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.181, allocations: 4.375 kB / 0.5724 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.181, allocations: 8 kB / 0.5724 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.1811, allocations: 28.94 kB / 0.5724 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.1813, allocations: 51.92 kB / 0.5725 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.1826, allocations: 1.319 MB / 0.5738 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.1828, allocations: 27.69 kB / 0.5738 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1828, allocations: 15.94 kB / 0.5738 GB, free: 9.859 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.183, allocations: 165.7 kB / 0.574 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.183, allocations: 27.81 kB / 0.574 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.1831, allocations: 29.83 kB / 0.574 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1831, allocations: 0 / 0.574 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1831, allocations: 0 / 0.574 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1831, allocations: 0 / 0.574 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.184, allocations: 0.7063 MB / 0.5747 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.184, allocations: 4 kB / 0.5747 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.1841, allocations: 16 kB / 0.5748 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.1842, allocations: 28.78 kB / 0.5748 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1842, allocations: 8.188 kB / 0.5748 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.1853, allocations: 1.319 MB / 0.5761 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1853, allocations: 8.188 kB / 0.5761 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.1858, allocations: 314.2 kB / 0.5764 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.1859, allocations: 112.8 kB / 0.5765 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1859, allocations: 11.95 kB / 0.5765 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1861, allocations: 11.98 kB / 0.5765 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.1862, allocations: 15.98 kB / 0.5765 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1862, allocations: 4 kB / 0.5765 GB, free: 6.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.1864, allocations: 194 kB / 0.5767 GB, free: 6.617 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1864, allocations: 0 / 0.5767 GB, free: 6.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.1869, allocations: 79.78 kB / 0.5768 GB, free: 6.539 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000113/0.187, allocations: 103.2 kB / 0.5769 GB, free: 6.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.1876, allocations: 271 kB / 0.5771 GB, free: 6.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1876, allocations: 0 / 0.5771 GB, free: 6.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.1878, allocations: 182.5 kB / 0.5773 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.1883, allocations: 67.42 kB / 0.5774 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.1893, allocations: 0.642 MB / 0.578 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.1897, allocations: 0.7913 MB / 0.5788 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1898, allocations: 42.27 kB / 0.5788 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.1899, allocations: 19.44 kB / 0.5788 GB, free: 4.332 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1899, allocations: 0 / 0.5788 GB, free: 4.332 MB / 446.1 MB Notification: Performance of Templates: time 0.006174/0.1961, allocations: 2.467 MB / 0.5813 GB, free: 1.891 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)