Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_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.001384/0.001384, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009282/0.0009282, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9599/0.9599, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7415/0.7415, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.104e-05, allocations: 8.609 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002225/0.002246, allocations: 1.509 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.003212, allocations: 0.7477 MB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.003249, allocations: 4 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.00328, allocations: 3.938 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.003333, allocations: 15.8 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.00375, allocations: 131.3 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.545e-05/0.003836, allocations: 55.78 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.003941, allocations: 11.98 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.004008, allocations: 31.91 kB / 0.6205 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.004049, allocations: 19.98 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.004064, allocations: 4 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.004283, allocations: 167.6 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.004299, allocations: 7.984 kB / 0.6207 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.004321, allocations: 15.92 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.004529, allocations: 171.5 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004531, allocations: 0 / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004531, allocations: 0 / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.004536, allocations: 0 / 0.6208 GB, free: 10.88 MB / 0.5886 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.0004089/0.004945, allocations: 329.8 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.004983, allocations: 9.469 kB / 0.6212 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.005013, allocations: 30.75 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.005038, allocations: 8.938 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.005118, allocations: 117.7 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.005128, allocations: 384 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.005139, allocations: 4.375 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.005311, allocations: 78.14 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005319, allocations: 192 / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.005328, allocations: 4.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.005333, allocations: 4.125 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.005483, allocations: 71.92 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.005824, allocations: 243.8 kB / 0.6217 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.005948, allocations: 58.47 kB / 0.6218 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.006021, allocations: 36.92 kB / 0.6218 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.006136, allocations: 19.98 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.006155, allocations: 30.56 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.006157, allocations: 0 / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003169/0.006474, allocations: 137.5 kB / 0.622 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.006504, allocations: 59.34 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.006585, allocations: 117.2 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.006596, allocations: 25.7 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.923e-05/0.006635, allocations: 92.12 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.00665, allocations: 3.953 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.006677, allocations: 17.72 kB / 0.6223 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.006752, allocations: 318.8 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.006822, allocations: 31.97 kB / 0.6226 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.00689, allocations: 36.12 kB / 0.6226 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.00702, allocations: 64.8 kB / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007022, allocations: 0 / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000162/0.007184, allocations: 117.4 kB / 0.6228 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.007196, allocations: 9.875 kB / 0.6228 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.007201, allocations: 0 / 0.6228 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.007213, allocations: 0 / 0.6228 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.007285, allocations: 15.98 kB / 0.6228 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.007289, allocations: 0 / 0.6228 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.007326, allocations: 11.98 kB / 0.6228 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.007333, allocations: 4 kB / 0.6229 GB, free: 8.617 MB / 0.5886 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 5.814e-05/0.007392, allocations: 110.8 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.007407, allocations: 15.89 kB / 0.623 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.007621, allocations: 109.5 kB / 0.6231 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007623, allocations: 0 / 0.6231 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.007628, allocations: 0 / 0.6231 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007631, allocations: 0 / 0.6231 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.007745, allocations: 144.7 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007746, allocations: 0 / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.007785, allocations: 19.97 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.007787, allocations: 4 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.007793, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007794, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007795, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.007982, allocations: 203.4 kB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.007992, allocations: 11.86 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.008003, allocations: 0 / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.008053, allocations: 11.98 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.008096, allocations: 8 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.008099, allocations: 3.984 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.008133, allocations: 87.28 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008133, allocations: 0 / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001809/0.008314, allocations: 35.86 kB / 0.6236 GB, free: 7.785 MB / 0.5886 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.0004833/0.008797, allocations: 0.767 MB / 0.6243 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.008974, allocations: 71.8 kB / 0.6244 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008975, allocations: 4 kB / 0.6244 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.009046, allocations: 36.33 kB / 0.6244 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.009243, allocations: 12 kB / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.01036, allocations: 1.431 MB / 0.6258 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.01084, allocations: 67.34 kB / 0.6259 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.01086, allocations: 3.984 kB / 0.6259 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.0109, allocations: 24.5 kB / 0.6259 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of SimCode: time 1.223e-06/0.01091, allocations: 0 / 0.6259 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.02744, allocations: 3.239 MB / 0.6291 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.929, allocations: 0.7031 kB / 0.6291 GB, free: 2.164 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.895813778042793] Failed to read output from testmodel.py, exit status != 0: 7.010277464054525 7.020783384 7.013608776 Calling exit ...