Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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.001273/0.001274, allocations: 105.4 kB / 15.7 MB, free: 24 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.001264/0.001264, allocations: 196.1 kB / 16.64 MB, free: 6.449 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.241/1.241, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 282.5 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.889/0.889, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 100.5 kB / 0.5955 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1548, allocations: 86.98 MB / 0.6805 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.00159/0.1564, allocations: 0.5112 MB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.1565, allocations: 11.97 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.1566, allocations: 4 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.1566, allocations: 3.938 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1567, allocations: 3.938 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.487e-06/0.1567, allocations: 0 / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.198e-05/0.1568, allocations: 8 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.1569, allocations: 4 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.1569, allocations: 7.938 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.1569, allocations: 11.92 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.157, allocations: 3.938 kB / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-06/0.157, allocations: 0 / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.157, allocations: 0 / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.157, allocations: 0 / 0.681 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.603e-05/0.157, allocations: 7.984 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1571, allocations: 0 / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1571, allocations: 0 / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1571, allocations: 4 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002565/0.1573, allocations: 315.8 kB / 0.6813 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1574, allocations: 8.031 kB / 0.6813 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.1574, allocations: 30.75 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.1574, allocations: 4.938 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.598e-05/0.1575, allocations: 172.3 kB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1575, allocations: 384 / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.1576, allocations: 384 / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.1577, allocations: 47.92 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.1577, allocations: 3.938 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.1577, allocations: 0 / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1577, allocations: 0 / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.1577, allocations: 4 kB / 0.6816 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.1578, allocations: 158.6 kB / 0.6817 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.961e-05/0.1579, allocations: 45.19 kB / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.1579, allocations: 9.719 kB / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.158, allocations: 0 / 0.6818 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.158, allocations: 38.61 kB / 0.6818 GB, free: 14.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.158, allocations: 0 / 0.6818 GB, free: 14.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.1581, allocations: 49.78 kB / 0.6819 GB, free: 14.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1582, allocations: 81.14 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.1582, allocations: 101.8 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1582, allocations: 25.7 kB / 0.6821 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.267e-05/0.1583, allocations: 80.14 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.1583, allocations: 7.906 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.1583, allocations: 13.72 kB / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.1584, allocations: 310.8 kB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.1584, allocations: 4.125 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.1585, allocations: 17.72 kB / 0.6825 GB, free: 14.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.1585, allocations: 17.7 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1585, allocations: 0 / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.547e-05/0.1586, allocations: 45.64 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1586, allocations: 8.062 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1586, allocations: 4 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1586, allocations: 0 / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.1587, allocations: 7.938 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.1587, allocations: 3.984 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.54e-05/0.1587, allocations: 3.938 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1587, allocations: 4 kB / 0.6826 GB, free: 14.06 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.1588, allocations: 106.5 kB / 0.6827 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.1588, allocations: 7.844 kB / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.1589, allocations: 56.75 kB / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1589, allocations: 0 / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1589, allocations: 0 / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1589, allocations: 0 / 0.6827 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.593e-05/0.159, allocations: 165.6 kB / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.159, allocations: 0 / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.159, allocations: 4 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1591, allocations: 3.938 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.1591, allocations: 0 / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1591, allocations: 4.062 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1591, allocations: 4 kB / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.117e-05/0.1592, allocations: 65.98 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.1592, allocations: 77.11 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1592, allocations: 7.938 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.1592, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.1593, allocations: 7.969 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.1593, allocations: 3.984 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.828e-05/0.1593, allocations: 79.28 kB / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1593, allocations: 0 / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001676/0.1595, allocations: 0 / 0.6831 GB, free: 13.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002984/0.1598, allocations: 0.6056 MB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.1599, allocations: 11.94 kB / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1599, allocations: 0 / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-06/0.1599, allocations: 4 kB / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.16, allocations: 5.719 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.1603, allocations: 123.9 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.1605, allocations: 0.6767 MB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.1605, allocations: 0 / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1605, allocations: 11.42 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1606, allocations: 0 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.1761, allocations: 0.9462 MB / 0.6855 GB, free: 10.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.571, allocations: 8.047 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)