Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001103/0.001103, allocations: 107.9 kB / 15.99 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.504/1.504, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7588/0.7588, allocations: 115.3 MB / 406.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4569, allocations: 76.17 MB / 0.556 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002889/0.4599, allocations: 1.459 MB / 0.5574 GB, free: 34.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.4603, allocations: 199.1 kB / 0.5576 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.4604, allocations: 0 / 0.5576 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.4604, allocations: 0 / 0.5576 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.4605, allocations: 6.375 kB / 0.5576 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.4607, allocations: 25.53 kB / 0.5577 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.227e-05/0.4608, allocations: 25.56 kB / 0.5577 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.4609, allocations: 6.906 kB / 0.5577 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.4609, allocations: 8.531 kB / 0.5577 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.461, allocations: 15.64 kB / 0.5577 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.461, allocations: 0 / 0.5577 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.4611, allocations: 28.62 kB / 0.5577 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.4611, allocations: 7.172 kB / 0.5577 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.4611, allocations: 9.094 kB / 0.5578 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.4613, allocations: 36.39 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4613, allocations: 0.6562 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.4613, allocations: 5.469 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.4613, allocations: 1.125 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004132/0.4617, allocations: 338.4 kB / 0.5581 GB, free: 34.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4618, allocations: 11.03 kB / 0.5581 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.708e-05/0.4618, allocations: 30.75 kB / 0.5582 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4619, allocations: 9.875 kB / 0.5582 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.316e-05/0.462, allocations: 163.7 kB / 0.5583 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.462, allocations: 4.047 kB / 0.5583 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.4621, allocations: 1.906 kB / 0.5583 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.4622, allocations: 52.89 kB / 0.5584 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4623, allocations: 5.422 kB / 0.5584 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.4623, allocations: 1.375 kB / 0.5584 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.4623, allocations: 1.062 kB / 0.5584 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.4625, allocations: 34.73 kB / 0.5584 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.4628, allocations: 248.8 kB / 0.5587 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.4629, allocations: 46.59 kB / 0.5587 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.377e-05/0.463, allocations: 23.69 kB / 0.5587 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4631, allocations: 5 kB / 0.5587 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.4631, allocations: 33.94 kB / 0.5588 GB, free: 33.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.4631, allocations: 0 / 0.5588 GB, free: 33.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000369/0.4635, allocations: 85.73 kB / 0.5588 GB, free: 33.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.4635, allocations: 52.38 kB / 0.5589 GB, free: 33.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.4636, allocations: 105.8 kB / 0.559 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.4636, allocations: 25.7 kB / 0.559 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.4636, allocations: 82.86 kB / 0.5591 GB, free: 33.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.4637, allocations: 3.906 kB / 0.5591 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.4637, allocations: 20.22 kB / 0.5591 GB, free: 33.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.4638, allocations: 315.1 kB / 0.5594 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.4638, allocations: 21.36 kB / 0.5594 GB, free: 32.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/0.4639, allocations: 20.75 kB / 0.5595 GB, free: 32.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4641, allocations: 40.92 kB / 0.5595 GB, free: 32.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4641, allocations: 3.938 kB / 0.5595 GB, free: 32.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.4643, allocations: 63.62 kB / 0.5596 GB, free: 32.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4643, allocations: 5.844 kB / 0.5596 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4643, allocations: 3.656 kB / 0.5596 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4643, allocations: 0 / 0.5596 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.4644, allocations: 10.69 kB / 0.5596 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.4644, allocations: 1.625 kB / 0.5596 GB, free: 32.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.4645, allocations: 8.375 kB / 0.5596 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.4645, allocations: 2.062 kB / 0.5596 GB, free: 32.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.468e-05/0.4645, allocations: 119.4 kB / 0.5597 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.4646, allocations: 4.953 kB / 0.5597 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.4648, allocations: 79.91 kB / 0.5598 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4648, allocations: 4.438 kB / 0.5598 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4648, allocations: 0 / 0.5598 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4648, allocations: 1.25 kB / 0.5598 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.465, allocations: 160.4 kB / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.465, allocations: 1.375 kB / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.465, allocations: 10.17 kB / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4651, allocations: 1.188 kB / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.4651, allocations: 0 / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4651, allocations: 2.906 kB / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4651, allocations: 0 / 0.56 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.4653, allocations: 176.7 kB / 0.5601 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.4653, allocations: 78.8 kB / 0.5602 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4653, allocations: 1.719 kB / 0.5602 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.4654, allocations: 8.062 kB / 0.5602 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.4655, allocations: 4.688 kB / 0.5602 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.4655, allocations: 0.875 kB / 0.5602 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.4655, allocations: 84.94 kB / 0.5603 GB, free: 31.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4655, allocations: 1.469 kB / 0.5603 GB, free: 31.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.4657, allocations: 4.812 kB / 0.5603 GB, free: 31.98 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 (3): * Single equations (assignments): 3 * 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.0004174/0.4662, allocations: 0.7062 MB / 0.561 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4664, allocations: 36.23 kB / 0.561 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4664, allocations: 1.875 kB / 0.561 GB, free: 31.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.4665, allocations: 27.33 kB / 0.5611 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4668, allocations: 3.562 kB / 0.5611 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.4673, allocations: 165.7 kB / 0.5612 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.4674, allocations: 0.6794 MB / 0.5619 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.4675, allocations: 3.469 kB / 0.5619 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.4675, allocations: 8.719 kB / 0.5619 GB, free: 30.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4675, allocations: 0 / 0.5619 GB, free: 30.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.4786, allocations: 1.201 MB / 0.5631 GB, free: 30.24 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.4788, allocations: 222.5 kB / 0.5633 GB, free: 29.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.302, allocations: 4 kB / 0.5633 GB, free: 29.98 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)