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.0009497/0.0009497, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009226/0.0009226, allocations: 208.1 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9539/0.9539, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.8228/0.8228, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: 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.0009446/0.0009446, allocations: 62.44 kB / 0.7181 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5451, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001876/0.547, allocations: 1.507 MB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009877/0.548, allocations: 0.7553 MB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.548, allocations: 0 / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.5481, allocations: 5.203 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.968e-05/0.5481, allocations: 15.83 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.5485, allocations: 130.2 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.5486, allocations: 59.97 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.5487, allocations: 10.62 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.865e-05/0.5488, allocations: 22.95 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.5488, allocations: 20 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.5488, allocations: 4.625 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.5491, allocations: 159.4 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.5491, allocations: 15.94 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.5492, allocations: 19.72 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.5494, allocations: 158.4 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5494, allocations: 0.6094 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.985e-06/0.5494, allocations: 0 / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.5494, allocations: 0 / 0.8206 GB, free: 15.29 MB / 0.6198 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.0004706/0.5499, allocations: 320.5 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.55, allocations: 8.531 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.55, allocations: 34.91 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.55, allocations: 6.141 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.5501, allocations: 123.4 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.5501, allocations: 1.656 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.5501, allocations: 4.781 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.5504, allocations: 76.94 kB / 0.8211 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5504, allocations: 7.438 kB / 0.8211 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.5504, allocations: 3.938 kB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.5504, allocations: 0 / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.5506, allocations: 70.55 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.551, allocations: 243.3 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.5512, allocations: 55.69 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.5513, allocations: 34.7 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.5514, allocations: 22.42 kB / 0.8215 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.5514, allocations: 35.2 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5514, allocations: 0 / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003749/0.5518, allocations: 127.6 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5518, allocations: 55.34 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.5519, allocations: 120.8 kB / 0.8219 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.552, allocations: 30.39 kB / 0.8219 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.552, allocations: 94.55 kB / 0.822 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.552, allocations: 12.77 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.5521, allocations: 17.41 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5522, allocations: 324 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.5523, allocations: 25.89 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.5523, allocations: 30.64 kB / 0.8224 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.5525, allocations: 73.77 kB / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5525, allocations: 0 / 0.8224 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001822/0.5527, allocations: 105.7 kB / 0.8226 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5527, allocations: 5.375 kB / 0.8226 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.5527, allocations: 9.125 kB / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5527, allocations: 0 / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.051e-05/0.5528, allocations: 16.38 kB / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5528, allocations: 0 / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.5529, allocations: 11.59 kB / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.5529, allocations: 1.156 kB / 0.8226 GB, free: 13.62 MB / 0.6198 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 6.63e-05/0.5529, allocations: 119.7 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.5529, allocations: 6.609 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.5532, allocations: 104.5 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5532, allocations: 1.344 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5532, allocations: 3.938 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5532, allocations: 0.9375 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.5533, allocations: 142.8 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5533, allocations: 0.75 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.5534, allocations: 20.62 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5534, allocations: 4 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5534, allocations: 1.406 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5534, allocations: 0.5156 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5534, allocations: 0 / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.5536, allocations: 195.9 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.5536, allocations: 7.484 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.5536, allocations: 0 / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.5537, allocations: 17.19 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.5537, allocations: 8.141 kB / 0.8232 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.5537, allocations: 1.5 kB / 0.8232 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.5538, allocations: 94.25 kB / 0.8233 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5538, allocations: 3.938 kB / 0.8233 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002148/0.554, allocations: 31.23 kB / 0.8233 GB, free: 13.02 MB / 0.6198 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.0005752/0.5546, allocations: 0.7717 MB / 0.8241 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.5548, allocations: 66.5 kB / 0.8241 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5548, allocations: 1.688 kB / 0.8241 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/0.5549, allocations: 37.14 kB / 0.8242 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.5552, allocations: 15.17 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.5565, allocations: 1.437 MB / 0.8256 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.638e-05/0.5566, allocations: 65.34 kB / 0.8257 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.174e-05/0.5566, allocations: 6.938 kB / 0.8257 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.5567, allocations: 20.09 kB / 0.8257 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5567, allocations: 0 / 0.8257 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.5722, allocations: 3.105 MB / 0.8287 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.531/7.103, allocations: 7.25 kB / 0.8287 GB, free: 10.02 MB / 0.6198 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: 10.229521058965474] Failed to read output from testmodel.py, exit status != 0: 7.18017164291814 7.190525395 6.638623605 Calling exit ...