Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.0007916/0.0007916, allocations: 105.9 kB / 18.93 MB, free: 1.266 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.0007965/0.0007965, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.89/0.89, allocations: 230.6 MB / 256 MB, free: 3.574 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.7787/0.7787, allocations: 203.8 MB / 0.5042 GB, free: 0.6992 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.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.0009133/0.0009133, allocations: 67.89 kB / 0.7183 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4737, allocations: 102 MB / 0.8179 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2131/0.6868, allocations: 246.4 MB / 1.059 GB, free: 12 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.6977, allocations: 8.589 MB / 1.067 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.6989, allocations: 95.12 kB / 1.067 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.7009, allocations: 1.076 MB / 1.068 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.7064, allocations: 3.275 MB / 1.071 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006562/0.7129, allocations: 3.654 MB / 1.075 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004462/0.7174, allocations: 4.066 MB / 1.079 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.7185, allocations: 1.161 MB / 1.08 GB, free: 6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.7218, allocations: 2.355 MB / 1.082 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.723, allocations: 1.479 MB / 1.084 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.7231, allocations: 136 kB / 1.084 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/0.7288, allocations: 4.271 MB / 1.088 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.7292, allocations: 0.6229 MB / 1.089 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.7302, allocations: 1.006 MB / 1.09 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.7342, allocations: 3.928 MB / 1.093 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7342, allocations: 11.98 kB / 1.093 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7342, allocations: 4 kB / 1.093 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.751e-05/0.7342, allocations: 0 / 1.093 GB, free: 8.145 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00363/0.7378, allocations: 2.678 MB / 1.096 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.66e-05/0.7379, allocations: 9.469 kB / 1.096 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004627/0.7384, allocations: 190.5 kB / 1.096 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.7423, allocations: 1.333 MB / 1.098 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.7438, allocations: 1.196 MB / 1.099 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.7438, allocations: 102.6 kB / 1.099 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.744, allocations: 136 kB / 1.099 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/0.7466, allocations: 2.071 MB / 1.101 GB, free: 232 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.7466, allocations: 0 / 1.101 GB, free: 232 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.7467, allocations: 63.97 kB / 1.101 GB, free: 168 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.7467, allocations: 66.45 kB / 1.101 GB, free: 100 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.7502, allocations: 2.172 MB / 1.103 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007019/0.7573, allocations: 8.338 MB / 1.111 GB, free: 5.027 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.7599, allocations: 1.799 MB / 1.113 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.7613, allocations: 0.9288 MB / 1.114 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.7617, allocations: 208.8 kB / 1.114 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.7632, allocations: 1.071 MB / 1.115 GB, free: 1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=119): time 2.675e-06/0.7632, allocations: 0 / 1.115 GB, free: 1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119): time 0.3993/1.163, allocations: 2.873 MB / 1.118 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.163, allocations: 65.09 kB / 1.118 GB, free: 268.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.164, allocations: 1.653 MB / 1.12 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/1.165, allocations: 53.11 kB / 1.12 GB, free: 268 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004652/1.165, allocations: 0.8142 MB / 1.121 GB, free: 267.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/1.165, allocations: 434.2 kB / 1.121 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/1.166, allocations: 246.3 kB / 1.121 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/1.166, allocations: 355.6 kB / 1.122 GB, free: 266.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/1.167, allocations: 0.8219 MB / 1.122 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.169, allocations: 1.14 MB / 1.124 GB, free: 266.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/1.172, allocations: 1.922 MB / 1.125 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.172, allocations: 2.312 kB / 1.125 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003895/1.176, allocations: 2.199 MB / 1.128 GB, free: 264.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/1.176, allocations: 11.53 kB / 1.128 GB, free: 264.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.176, allocations: 8.344 kB / 1.128 GB, free: 264.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.176, allocations: 17.48 kB / 1.128 GB, free: 264.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.177, allocations: 409.7 kB / 1.128 GB, free: 264.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/1.177, allocations: 19.86 kB / 1.128 GB, free: 264.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.178, allocations: 280.2 kB / 1.128 GB, free: 264.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.178, allocations: 63.34 kB / 1.128 GB, free: 264.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 161 * 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.0005236/1.179, allocations: 398.4 kB / 1.129 GB, free: 264.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/1.179, allocations: 210.2 kB / 1.129 GB, free: 264.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/1.182, allocations: 2.194 MB / 1.131 GB, free: 263.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.182, allocations: 12.38 kB / 1.131 GB, free: 263.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.182, allocations: 0.7031 kB / 1.131 GB, free: 263.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/1.182, allocations: 7.938 kB / 1.131 GB, free: 263.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00632/1.189, allocations: 4.465 MB / 1.135 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.189, allocations: 7.938 kB / 1.135 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000996/1.19, allocations: 341.7 kB / 1.136 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.364e-05/1.19, allocations: 11.03 kB / 1.136 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.249e-05/1.19, allocations: 43.95 kB / 1.136 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.379e-05/1.19, allocations: 15.41 kB / 1.136 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/1.19, allocations: 12.41 kB / 1.136 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005036/1.195, allocations: 3.472 MB / 1.139 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/1.196, allocations: 341 kB / 1.14 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.196, allocations: 34.25 kB / 1.14 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/1.196, allocations: 173.4 kB / 1.14 GB, free: 260.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.197, allocations: 101.5 kB / 1.14 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/1.197, allocations: 52.59 kB / 1.14 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001257/1.198, allocations: 1.137 MB / 1.141 GB, free: 259.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/1.198, allocations: 0 / 1.141 GB, free: 259.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00113/1.199, allocations: 495.7 kB / 1.141 GB, free: 259.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.006155/1.205, allocations: 4.503 MB / 1.146 GB, free: 257.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003554/1.209, allocations: 1.901 MB / 1.148 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.209, allocations: 1.062 kB / 1.148 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.211, allocations: 0.9685 MB / 1.149 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/1.213, allocations: 0.9537 MB / 1.15 GB, free: 256.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/1.233, allocations: 16.11 MB / 1.165 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/1.234, allocations: 1.385 MB / 1.167 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001474/1.235, allocations: 485.9 kB / 1.167 GB, free: 247.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/1.236, allocations: 0.7349 MB / 1.168 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/1.236, allocations: 0 / 1.168 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/1.29, allocations: 52.16 MB / 1.219 GB, free: 201.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.904/11.19, allocations: 6.094 kB / 1.219 GB, free: 201.3 MB / 0.8855 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.195630442118272] Failed to read output from testmodel.py, exit status != 0: 11.314686920959502 11.321072226 10.585380417 Calling exit ...