Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.000919/0.000919, allocations: 96.5 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.0009784/0.0009783, allocations: 177.5 kB / 16.57 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.438/1.438, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6897/0.6897, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005388/0.1723, allocations: 3.667 MB / 0.5603 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.175, allocations: 1.723 MB / 0.562 GB, free: 6.289 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1751, allocations: 11.94 kB / 0.562 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.1753, allocations: 71.53 kB / 0.5621 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.1758, allocations: 191.4 kB / 0.5623 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1762, allocations: 183.6 kB / 0.5624 GB, free: 5.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.1766, allocations: 359.2 kB / 0.5628 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.177, allocations: 384.9 kB / 0.5631 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1771, allocations: 167.5 kB / 0.5633 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.1774, allocations: 183.3 kB / 0.5635 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1775, allocations: 20 kB / 0.5635 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.1777, allocations: 123.8 kB / 0.5636 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.1778, allocations: 111.7 kB / 0.5637 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.1779, allocations: 105.5 kB / 0.5638 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.1783, allocations: 459 kB / 0.5643 GB, free: 3.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1783, allocations: 0 / 0.5643 GB, free: 3.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1783, allocations: 0 / 0.5643 GB, free: 3.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1783, allocations: 0 / 0.5643 GB, free: 3.926 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009124/0.1792, allocations: 0.655 MB / 0.5649 GB, free: 3.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1793, allocations: 8.031 kB / 0.5649 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.461e-05/0.1793, allocations: 82.52 kB / 0.565 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009175/0.1803, allocations: 163.3 kB / 0.5651 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.1807, allocations: 317.4 kB / 0.5654 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1807, allocations: 29 kB / 0.5655 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.1807, allocations: 28 kB / 0.5655 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.1814, allocations: 0.5314 MB / 0.566 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1814, allocations: 0 / 0.566 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.1815, allocations: 16 kB / 0.566 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/0.1815, allocations: 28.64 kB / 0.5661 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.1821, allocations: 386.3 kB / 0.5664 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.1846, allocations: 2.423 MB / 0.5688 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.1851, allocations: 260.2 kB / 0.569 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1851, allocations: 7.984 kB / 0.569 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.1852, allocations: 34.5 kB / 0.5691 GB, free: 14.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 2.255e-06/0.1852, allocations: 3.984 kB / 0.5691 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002012/0.1872, allocations: 1.125 MB / 0.5702 GB, free: 13.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1873, allocations: 55.41 kB / 0.5702 GB, free: 13.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1876, allocations: 296.5 kB / 0.5705 GB, free: 13.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.1876, allocations: 37.7 kB / 0.5705 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1878, allocations: 231.5 kB / 0.5708 GB, free: 12.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.1878, allocations: 82.84 kB / 0.5708 GB, free: 12.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.1878, allocations: 4 kB / 0.5709 GB, free: 12.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.188, allocations: 346.8 kB / 0.5712 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1882, allocations: 96.61 kB / 0.5713 GB, free: 12.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.1884, allocations: 192.4 kB / 0.5715 GB, free: 11.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1886, allocations: 126.5 kB / 0.5716 GB, free: 11.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1886, allocations: 4 kB / 0.5716 GB, free: 11.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007143/0.1893, allocations: 440 kB / 0.572 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1893, allocations: 8 kB / 0.572 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1894, allocations: 4 kB / 0.572 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/0.1897, allocations: 102.6 kB / 0.5721 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.19, allocations: 63.89 kB / 0.5722 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/0.1934, allocations: 4.099 MB / 0.5762 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1936, allocations: 8.25 kB / 0.5762 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1937, allocations: 20 kB / 0.5762 GB, free: 6.715 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002298/0.1939, allocations: 181.7 kB / 0.5764 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.194, allocations: 27.72 kB / 0.5764 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.1941, allocations: 38.31 kB / 0.5764 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1941, allocations: 0 / 0.5764 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1941, allocations: 4 kB / 0.5764 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1941, allocations: 0 / 0.5764 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.1947, allocations: 409.3 kB / 0.5768 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1947, allocations: 0 / 0.5768 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.1949, allocations: 31.98 kB / 0.5769 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.1952, allocations: 106.6 kB / 0.577 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1952, allocations: 4 kB / 0.577 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.1978, allocations: 4.088 MB / 0.581 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1978, allocations: 0 / 0.581 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.1985, allocations: 0.5594 MB / 0.5815 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1986, allocations: 128.7 kB / 0.5816 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.1987, allocations: 0 / 0.5816 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1989, allocations: 12 kB / 0.5816 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1989, allocations: 24.03 kB / 0.5817 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1989, allocations: 4 kB / 0.5817 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.1991, allocations: 211.1 kB / 0.5819 GB, free: 408 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1991, allocations: 3.938 kB / 0.5819 GB, free: 404 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.1995, allocations: 96 kB / 0.582 GB, free: 308 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3425/0.542, allocations: 1.095 MB / 0.583 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.5431, allocations: 0.606 MB / 0.5836 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5432, allocations: 0 / 0.5836 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.5437, allocations: 474.8 kB / 0.5841 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.5442, allocations: 75.75 kB / 0.5842 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.5479, allocations: 3.714 MB / 0.5878 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.5483, allocations: 0.839 MB / 0.5886 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.5486, allocations: 63.62 kB / 0.5887 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.5488, allocations: 109.7 kB / 0.5888 GB, free: 27.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5488, allocations: 3.719 kB / 0.5888 GB, free: 27.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9411/1.49, allocations: 7.109 MB / 0.5957 GB, free: 27.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/1.49, allocations: 186.3 kB / 0.5959 GB, free: 27.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/3.146, allocations: 0 / 0.5959 GB, free: 27.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) Environment - environmentSimulation: