Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",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.001098/0.001097, allocations: 96.81 kB / 15.69 MB, free: 480 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.001076/0.001077, allocations: 174.8 kB / 16.57 MB, free: 6.398 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.463/1.463, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6672/0.6672, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 11.98 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1689, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.002922/0.1719, allocations: 2.58 MB / 0.5592 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1735, allocations: 1.213 MB / 0.5604 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.1737, allocations: 4 kB / 0.5604 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1738, allocations: 35.77 kB / 0.5605 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1741, allocations: 107.6 kB / 0.5606 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1744, allocations: 95.75 kB / 0.5607 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.1746, allocations: 175.6 kB / 0.5608 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.1749, allocations: 212.2 kB / 0.561 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.175, allocations: 83.69 kB / 0.5611 GB, free: 7.176 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1752, allocations: 87.67 kB / 0.5612 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1753, allocations: 12 kB / 0.5612 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1754, allocations: 79.81 kB / 0.5613 GB, free: 7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.1755, allocations: 63.88 kB / 0.5613 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.1756, allocations: 65.58 kB / 0.5614 GB, free: 6.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1758, allocations: 239.4 kB / 0.5616 GB, free: 6.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1759, allocations: 4 kB / 0.5616 GB, free: 6.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1759, allocations: 0 / 0.5616 GB, free: 6.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1759, allocations: 0 / 0.5616 GB, free: 6.629 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000684/0.1766, allocations: 494.8 kB / 0.5621 GB, free: 6.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1766, allocations: 8.031 kB / 0.5621 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.1767, allocations: 62.47 kB / 0.5622 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.1772, allocations: 87.72 kB / 0.5623 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1775, allocations: 226.8 kB / 0.5625 GB, free: 5.668 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1776, allocations: 12.38 kB / 0.5625 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.1776, allocations: 23.95 kB / 0.5625 GB, free: 5.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.178, allocations: 302.9 kB / 0.5628 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.178, allocations: 0 / 0.5628 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.1781, allocations: 12 kB / 0.5628 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.1781, allocations: 16.36 kB / 0.5628 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.1784, allocations: 193 kB / 0.563 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1798, allocations: 1.464 MB / 0.5644 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.18, allocations: 179.6 kB / 0.5646 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1801, allocations: 3.953 kB / 0.5646 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1801, allocations: 46.62 kB / 0.5647 GB, free: 3.211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1801, allocations: 0 / 0.5647 GB, free: 3.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004449/0.1805, allocations: 223.4 kB / 0.5649 GB, free: 2.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.1806, allocations: 51.41 kB / 0.5649 GB, free: 2.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1808, allocations: 198.4 kB / 0.5651 GB, free: 2.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1808, allocations: 29.7 kB / 0.5651 GB, free: 2.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1809, allocations: 167.6 kB / 0.5653 GB, free: 2.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1809, allocations: 27.8 kB / 0.5653 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1809, allocations: 4 kB / 0.5653 GB, free: 2.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1811, allocations: 322.8 kB / 0.5656 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.1811, allocations: 35.97 kB / 0.5657 GB, free: 2.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.1812, allocations: 96.58 kB / 0.5658 GB, free: 1.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.1813, allocations: 55.86 kB / 0.5658 GB, free: 1.926 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1813, allocations: 3.938 kB / 0.5658 GB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002815/0.1816, allocations: 194 kB / 0.566 GB, free: 1.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1816, allocations: 4 kB / 0.566 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1816, allocations: 7.984 kB / 0.566 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.1818, allocations: 24.84 kB / 0.566 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1819, allocations: 28.22 kB / 0.5661 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009392/0.1828, allocations: 1.319 MB / 0.5674 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.183, allocations: 24.09 kB / 0.5674 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.183, allocations: 4 kB / 0.5674 GB, free: 176 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001235/0.1831, allocations: 155.6 kB / 0.5675 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.1832, allocations: 15.98 kB / 0.5675 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.1832, allocations: 13.41 kB / 0.5676 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1832, allocations: 0 / 0.5676 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1832, allocations: 0 / 0.5676 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1832, allocations: 3.984 kB / 0.5676 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.1837, allocations: 443.1 kB / 0.568 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1837, allocations: 3.938 kB / 0.568 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.1838, allocations: 15.98 kB / 0.568 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.75e-05/0.1839, allocations: 16.84 kB / 0.568 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1839, allocations: 4 kB / 0.568 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008331/0.1847, allocations: 1.327 MB / 0.5693 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1847, allocations: 0 / 0.5693 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.1849, allocations: 212.5 kB / 0.5695 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.185, allocations: 97 kB / 0.5696 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.185, allocations: 3.953 kB / 0.5696 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1852, allocations: 4 kB / 0.5696 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.1852, allocations: 11.92 kB / 0.5696 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1852, allocations: 4 kB / 0.5696 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1853, allocations: 142.2 kB / 0.5698 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1853, allocations: 4 kB / 0.5698 GB, free: 13.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.1856, allocations: 47.84 kB / 0.5698 GB, free: 13.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.000473/0.1861, allocations: 0.7489 MB / 0.5706 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.1865, allocations: 206.7 kB / 0.5707 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1865, allocations: 0 / 0.5707 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1866, allocations: 158.5 kB / 0.5709 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1869, allocations: 24.92 kB / 0.5709 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1887, allocations: 2.386 MB / 0.5733 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.189, allocations: 0.7595 MB / 0.574 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.061e-05/0.1891, allocations: 21.53 kB / 0.574 GB, free: 8.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.1892, allocations: 47.42 kB / 0.5741 GB, free: 8.922 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1892, allocations: 8 kB / 0.5741 GB, free: 8.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.758/0.9472, allocations: 3.317 MB / 0.5773 GB, free: 5.766 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.9475, allocations: 201 kB / 0.5775 GB, free: 5.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.372/2.32, allocations: 4 kB / 0.5775 GB, free: 5.52 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) Environment - environmentSimulation: