Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.0007584/0.0007584, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008421/0.0008421, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9328/0.9328, allocations: 230.6 MB / 256 MB, free: 9.797 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.8095/0.8095, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.0008864/0.0008864, allocations: 68.33 kB / 0.7183 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5646, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2402/0.8048, allocations: 246.5 MB / 1.059 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.8169, allocations: 8.575 MB / 1.067 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.819, allocations: 99.06 kB / 1.067 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.8217, allocations: 1.076 MB / 1.068 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.007117/0.8288, allocations: 3.282 MB / 1.071 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.007967/0.8368, allocations: 3.643 MB / 1.075 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005517/0.8423, allocations: 3.987 MB / 1.079 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.8448, allocations: 1.112 MB / 1.08 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006099/0.8509, allocations: 2.324 MB / 1.082 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002697/0.8536, allocations: 1.451 MB / 1.084 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006331/0.8542, allocations: 128 kB / 1.084 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007783/0.862, allocations: 4.267 MB / 1.088 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.8631, allocations: 0.6151 MB / 1.088 GB, free: 8 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.8652, allocations: 0.9909 MB / 1.089 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00909/0.8743, allocations: 3.889 MB / 1.093 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.8743, allocations: 0 / 1.093 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8743, allocations: 3.938 kB / 1.093 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001065/0.8744, allocations: 0 / 1.093 GB, free: 11.1 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005929/0.8803, allocations: 2.654 MB / 1.096 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.8803, allocations: 8.031 kB / 1.096 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/0.8806, allocations: 190.4 kB / 1.096 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/0.8845, allocations: 1.142 MB / 1.097 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.887, allocations: 1.188 MB / 1.098 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.467e-05/0.887, allocations: 94.56 kB / 1.098 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.8872, allocations: 132 kB / 1.098 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.8901, allocations: 1.959 MB / 1.1 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.8901, allocations: 7.938 kB / 1.1 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/0.8902, allocations: 56 kB / 1.1 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.8903, allocations: 62.34 kB / 1.1 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.8936, allocations: 1.886 MB / 1.102 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009088/0.9027, allocations: 8.607 MB / 1.111 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.905, allocations: 1.452 MB / 1.112 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.906, allocations: 0.7493 MB / 1.113 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/0.9065, allocations: 204.9 kB / 1.113 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.9077, allocations: 0.8832 MB / 1.114 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=106): time 3.136e-06/0.9077, allocations: 0 / 1.114 GB, free: 4.984 MB / 0.8855 GB Notification: Performance of matching and sorting (n=106): time 0.003773/0.9115, allocations: 2.388 MB / 1.116 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.9115, allocations: 72.34 kB / 1.116 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.9132, allocations: 1.742 MB / 1.118 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.9132, allocations: 45.7 kB / 1.118 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.9137, allocations: 0.8482 MB / 1.119 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.914, allocations: 380.7 kB / 1.119 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.9142, allocations: 238.8 kB / 1.12 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.9144, allocations: 353.9 kB / 1.12 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.9154, allocations: 0.6739 MB / 1.121 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.9166, allocations: 1.053 MB / 1.122 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.9192, allocations: 1.714 MB / 1.123 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.9192, allocations: 4 kB / 1.123 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002588/0.9218, allocations: 1.929 MB / 1.125 GB, free: 9.168 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.9218, allocations: 12 kB / 1.125 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.9219, allocations: 11.98 kB / 1.125 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.9219, allocations: 20.81 kB / 1.125 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008528/0.9227, allocations: 367.4 kB / 1.125 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.9228, allocations: 19.94 kB / 1.126 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/0.9236, allocations: 258.6 kB / 1.126 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.9237, allocations: 59.98 kB / 1.126 GB, free: 8.434 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0004779/0.9242, allocations: 408.4 kB / 1.126 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.9244, allocations: 198.8 kB / 1.126 GB, free: 7.832 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.9268, allocations: 1.852 MB / 1.128 GB, free: 5.973 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.9269, allocations: 15.94 kB / 1.128 GB, free: 5.957 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.9269, allocations: 0 / 1.128 GB, free: 5.957 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.9269, allocations: 7.969 kB / 1.128 GB, free: 5.949 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004811/0.9317, allocations: 3.995 MB / 1.132 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.9317, allocations: 8 kB / 1.132 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.9324, allocations: 263.8 kB / 1.132 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.9324, allocations: 15.94 kB / 1.132 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.9324, allocations: 35.97 kB / 1.132 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.9325, allocations: 23.92 kB / 1.132 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9325, allocations: 8 kB / 1.132 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.936, allocations: 2.94 MB / 1.135 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.9364, allocations: 326.3 kB / 1.136 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.9365, allocations: 39.92 kB / 1.136 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.9372, allocations: 119.9 kB / 1.136 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.9373, allocations: 96.34 kB / 1.136 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.9373, allocations: 43.97 kB / 1.136 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001339/0.9387, allocations: 1.195 MB / 1.137 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9387, allocations: 0 / 1.137 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009218/0.9396, allocations: 471.5 kB / 1.138 GB, free: 12.12 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (109): * Single equations (assignments): 103 * 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.004615/0.9442, allocations: 3.972 MB / 1.141 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.9465, allocations: 1.593 MB / 1.143 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9465, allocations: 0 / 1.143 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.9476, allocations: 0.7859 MB / 1.144 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.95, allocations: 0.9775 MB / 1.145 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.405/1.355, allocations: 14.77 MB / 1.159 GB, free: 301.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/1.356, allocations: 1.376 MB / 1.16 GB, free: 301.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001637/1.358, allocations: 470 kB / 1.161 GB, free: 301.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008375/1.359, allocations: 0.7258 MB / 1.162 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.553e-06/1.359, allocations: 0 / 1.162 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07312/1.432, allocations: 51.92 MB / 1.212 GB, free: 270.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.336/10.77, allocations: 8.062 kB / 1.212 GB, free: 270.8 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_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_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.90607347083278] Failed to read output from testmodel.py, exit status != 0: 10.889403793029487 10.898224725 10.022114562 Calling exit ...