Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.001592/0.001592, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001623/0.001623, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.809 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.9378/0.9378, allocations: 134 MB / 446.4 MB, free: 9.93 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.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",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.002376/0.002376, allocations: 64.31 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1872, allocations: 85.92 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003236/0.1905, allocations: 1.489 MB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5491/0.7395, allocations: 115.8 MB / 0.8169 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.7396, allocations: 4 kB / 0.8169 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.7396, allocations: 3.938 kB / 0.8169 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-05/0.7397, allocations: 10.06 kB / 0.8169 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.7401, allocations: 66.3 kB / 0.817 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.7402, allocations: 61.14 kB / 0.817 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.7403, allocations: 10.33 kB / 0.817 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.7404, allocations: 16.28 kB / 0.8171 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.7404, allocations: 24.12 kB / 0.8171 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.7404, allocations: 4.969 kB / 0.8171 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.7405, allocations: 31.89 kB / 0.8171 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.7406, allocations: 7.938 kB / 0.8171 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.7406, allocations: 19.08 kB / 0.8171 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.7408, allocations: 61.48 kB / 0.8172 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7408, allocations: 0 / 0.8172 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.827e-06/0.7408, allocations: 3.984 kB / 0.8172 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7408, allocations: 0 / 0.8172 GB, free: 7.352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006618/0.7414, allocations: 291.4 kB / 0.8175 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.7415, allocations: 15.56 kB / 0.8175 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.7415, allocations: 34.69 kB / 0.8175 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.7416, allocations: 12.2 kB / 0.8175 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7417, allocations: 117.1 kB / 0.8177 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.7417, allocations: 2.688 kB / 0.8177 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.7417, allocations: 3.312 kB / 0.8177 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.742, allocations: 71.47 kB / 0.8177 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.742, allocations: 3.938 kB / 0.8177 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.742, allocations: 0 / 0.8177 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.742, allocations: 6.922 kB / 0.8177 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.7423, allocations: 77.2 kB / 0.8178 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.7427, allocations: 253.6 kB / 0.8181 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.7429, allocations: 48.05 kB / 0.8181 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.7431, allocations: 45.06 kB / 0.8181 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.7432, allocations: 10.47 kB / 0.8182 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.7432, allocations: 40.08 kB / 0.8182 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.7432, allocations: 0 / 0.8182 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005501/0.7438, allocations: 126.5 kB / 0.8183 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.7438, allocations: 54.31 kB / 0.8184 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.744, allocations: 118.7 kB / 0.8185 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.744, allocations: 29.64 kB / 0.8185 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.744, allocations: 94.69 kB / 0.8186 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.7441, allocations: 10.58 kB / 0.8186 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.7441, allocations: 16.38 kB / 0.8186 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.7443, allocations: 321.4 kB / 0.8189 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.7444, allocations: 27.97 kB / 0.819 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.7446, allocations: 38.66 kB / 0.819 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.7448, allocations: 71.28 kB / 0.8191 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7448, allocations: 0 / 0.8191 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003316/0.7452, allocations: 105.5 kB / 0.8192 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.7452, allocations: 7.156 kB / 0.8192 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7452, allocations: 2.938 kB / 0.8192 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7452, allocations: 0 / 0.8192 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.7453, allocations: 14.48 kB / 0.8192 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7453, allocations: 0 / 0.8192 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.7454, allocations: 13.78 kB / 0.8192 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.7454, allocations: 2.344 kB / 0.8192 GB, free: 5.512 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 0.0001014/0.7455, allocations: 118.5 kB / 0.8193 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.7456, allocations: 14.45 kB / 0.8193 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.7459, allocations: 104.6 kB / 0.8194 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7459, allocations: 0 / 0.8194 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7459, allocations: 0 / 0.8194 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7459, allocations: 0 / 0.8194 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.7461, allocations: 139 kB / 0.8196 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.7461, allocations: 7.984 kB / 0.8196 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.7462, allocations: 15.05 kB / 0.8196 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7462, allocations: 0 / 0.8196 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7462, allocations: 3.625 kB / 0.8196 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7462, allocations: 0 / 0.8196 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7462, allocations: 2.531 kB / 0.8196 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.7466, allocations: 210.4 kB / 0.8198 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.7466, allocations: 7.953 kB / 0.8198 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.7466, allocations: 2.969 kB / 0.8198 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.7467, allocations: 9.172 kB / 0.8198 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.7468, allocations: 10.3 kB / 0.8198 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.7468, allocations: 0 / 0.8198 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.113e-05/0.7468, allocations: 99.97 kB / 0.8199 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7468, allocations: 0 / 0.8199 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002308/0.7471, allocations: 14.59 kB / 0.8199 GB, free: 4.84 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.0008576/0.7479, allocations: 0.7388 MB / 0.8206 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.7483, allocations: 71.95 kB / 0.8207 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7483, allocations: 0 / 0.8207 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.7484, allocations: 41.45 kB / 0.8208 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.7488, allocations: 9.375 kB / 0.8208 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.751, allocations: 1.433 MB / 0.8222 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.7511, allocations: 69.92 kB / 0.8222 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.7511, allocations: 2.719 kB / 0.8222 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.7511, allocations: 18.25 kB / 0.8223 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.7511, allocations: 4 kB / 0.8223 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.7837, allocations: 2.671 MB / 0.8249 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.81, allocations: 10.75 kB / 0.8249 GB, free: 1.066 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.579765148926526] Failed to read output from testmodel.py, exit status != 0: 11.92368594603613 11.941581571 11.197321275 Calling exit ...