Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 220 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8692/0.8692, allocations: 134 MB / 447.2 MB, free: 9.902 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 64.47 kB / 0.6192 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.179, allocations: 85.92 MB / 0.7032 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002557/0.1816, allocations: 1.273 MB / 0.7044 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4719/0.6535, allocations: 115.7 MB / 0.8173 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.6535, allocations: 0 / 0.8173 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.6535, allocations: 4 kB / 0.8174 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.6536, allocations: 10.55 kB / 0.8174 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.654, allocations: 62.31 kB / 0.8174 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.506e-05/0.6541, allocations: 22.55 kB / 0.8174 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.6541, allocations: 0 / 0.8174 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.6542, allocations: 5.406 kB / 0.8174 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.6542, allocations: 12.83 kB / 0.8175 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.6542, allocations: 3.094 kB / 0.8175 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.131e-05/0.6543, allocations: 21.27 kB / 0.8175 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.6543, allocations: 2.625 kB / 0.8175 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.6544, allocations: 18.17 kB / 0.8175 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.6545, allocations: 20.94 kB / 0.8175 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6545, allocations: 0 / 0.8175 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6545, allocations: 0 / 0.8175 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.6545, allocations: 3.406 kB / 0.8175 GB, free: 7.652 MB / 0.5919 GB 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.0004432/0.6549, allocations: 252.3 kB / 0.8178 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.655, allocations: 12.88 kB / 0.8178 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.364e-05/0.655, allocations: 192 / 0.8178 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.655, allocations: 38.73 kB / 0.8178 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.6551, allocations: 6.984 kB / 0.8178 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.6552, allocations: 117.3 kB / 0.8179 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.394e-05/0.6553, allocations: 61.53 kB / 0.818 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.6553, allocations: 384 / 0.818 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.6554, allocations: 45.31 kB / 0.818 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6554, allocations: 0 / 0.818 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.6554, allocations: 0 / 0.818 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6554, allocations: 0 / 0.818 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.6555, allocations: 12.42 kB / 0.8181 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.6557, allocations: 125.8 kB / 0.8182 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.6558, allocations: 34.8 kB / 0.8182 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.6559, allocations: 17.84 kB / 0.8182 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.656, allocations: 12.33 kB / 0.8182 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.6561, allocations: 38.38 kB / 0.8183 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.6561, allocations: 0 / 0.8183 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002384/0.6563, allocations: 56.36 kB / 0.8183 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.6563, allocations: 55.34 kB / 0.8184 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.6564, allocations: 96.73 kB / 0.8185 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.6564, allocations: 29.7 kB / 0.8185 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.6565, allocations: 82.36 kB / 0.8186 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.6565, allocations: 7.906 kB / 0.8186 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.6566, allocations: 20.42 kB / 0.8186 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6567, allocations: 313.5 kB / 0.8189 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.6567, allocations: 2.938 kB / 0.8189 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.6568, allocations: 13.02 kB / 0.8189 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.6569, allocations: 23.94 kB / 0.8189 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6569, allocations: 3.938 kB / 0.8189 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001239/0.657, allocations: 59.25 kB / 0.819 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.657, allocations: 8 kB / 0.819 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.657, allocations: 0 / 0.819 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.657, allocations: 48 / 0.819 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.6571, allocations: 9.328 kB / 0.819 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.6571, allocations: 0 / 0.819 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.6571, allocations: 7.922 kB / 0.819 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.6571, allocations: 2.625 kB / 0.819 GB, free: 6.062 MB / 0.5919 GB 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 (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 prepare postOptimizeDAE: time 8.671e-05/0.6572, allocations: 105.8 kB / 0.8191 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.6572, allocations: 10.12 kB / 0.8191 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.6574, allocations: 58.58 kB / 0.8192 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.6574, allocations: 7.344 kB / 0.8192 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6574, allocations: 3.625 kB / 0.8192 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.6574, allocations: 0 / 0.8192 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.6575, allocations: 123.5 kB / 0.8193 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6575, allocations: 3.984 kB / 0.8193 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.6576, allocations: 9.125 kB / 0.8193 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6576, allocations: 0 / 0.8193 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.6576, allocations: 1.969 kB / 0.8193 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6576, allocations: 4 kB / 0.8193 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6576, allocations: 0 / 0.8193 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.6577, allocations: 77.34 kB / 0.8194 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.6578, allocations: 10.98 kB / 0.8194 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.6578, allocations: 4 kB / 0.8194 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.875e-05/0.6578, allocations: 2.531 kB / 0.8194 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.6579, allocations: 3.984 kB / 0.8194 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.6579, allocations: 2.656 kB / 0.8194 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.499e-05/0.6579, allocations: 77.59 kB / 0.8195 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6579, allocations: 0 / 0.8195 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000187/0.6581, allocations: 12.44 kB / 0.8195 GB, free: 5.543 MB / 0.5919 GB 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.0005204/0.6586, allocations: 0.6253 MB / 0.8201 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.6587, allocations: 21.39 kB / 0.8202 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6587, allocations: 0 / 0.8202 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.6588, allocations: 8.844 kB / 0.8202 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.659, allocations: 15.14 kB / 0.8202 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.6594, allocations: 154.3 kB / 0.8203 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.6595, allocations: 68.61 kB / 0.8204 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.6595, allocations: 0 / 0.8204 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.6596, allocations: 10.22 kB / 0.8204 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.6596, allocations: 4 kB / 0.8204 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.6805, allocations: 1.565 MB / 0.8219 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.76, allocations: 11 kB / 0.8219 GB, free: 3.793 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.402044038986787] Failed to read output from testmodel.py, exit status != 0: 11.921952822012827 11.949315702 11.289625528 Calling exit ...