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.001086/0.001086, 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.000844/0.000844, allocations: 217.7 kB / 22.26 MB, free: 3.707 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.9232/0.9232, allocations: 230.6 MB / 256 MB, free: 9.789 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.7916/0.7916, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.001099/0.001099, allocations: 70.02 kB / 0.7183 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5272, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.1919/0.7191, allocations: 246.4 MB / 1.059 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.7299, allocations: 8.588 MB / 1.067 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.7318, allocations: 95.12 kB / 1.067 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.7339, allocations: 1.08 MB / 1.068 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.7405, allocations: 3.279 MB / 1.071 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.006675/0.7472, allocations: 3.644 MB / 1.075 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00528/0.7525, allocations: 3.987 MB / 1.079 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.7543, allocations: 1.108 MB / 1.08 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.7586, allocations: 2.332 MB / 1.082 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.7603, allocations: 1.44 MB / 1.084 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.7606, allocations: 132 kB / 1.084 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006247/0.7668, allocations: 4.275 MB / 1.088 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000557/0.7674, allocations: 0.6034 MB / 1.088 GB, free: 40 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.7684, allocations: 0.9987 MB / 1.089 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.007805/0.7762, allocations: 3.885 MB / 1.093 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7763, allocations: 0 / 1.093 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7763, allocations: 0 / 1.093 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.286e-05/0.7763, allocations: 0 / 1.093 GB, free: 11.13 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.004595/0.7809, allocations: 2.654 MB / 1.096 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.7809, allocations: 8.031 kB / 1.096 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.7811, allocations: 194.4 kB / 1.096 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/0.7848, allocations: 1.142 MB / 1.097 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.7866, allocations: 1.188 MB / 1.098 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.7867, allocations: 94.56 kB / 1.098 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.7868, allocations: 128 kB / 1.098 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.7893, allocations: 1.963 MB / 1.1 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.7893, allocations: 7.938 kB / 1.1 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.7894, allocations: 52 kB / 1.1 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/0.7894, allocations: 66.34 kB / 1.101 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.7921, allocations: 1.89 MB / 1.102 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007284/0.7994, allocations: 8.603 MB / 1.111 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.8019, allocations: 1.449 MB / 1.112 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.803, allocations: 0.7493 MB / 1.113 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/0.8036, allocations: 208.9 kB / 1.113 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.8049, allocations: 0.8715 MB / 1.114 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=106): time 4.138e-06/0.8049, allocations: 0 / 1.114 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=106): time 0.004022/0.809, allocations: 2.388 MB / 1.116 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.809, allocations: 68.34 kB / 1.116 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.8107, allocations: 1.746 MB / 1.118 GB, free: 0.7539 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.8108, allocations: 49.69 kB / 1.118 GB, free: 0.6992 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/0.8114, allocations: 0.8408 MB / 1.119 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.8116, allocations: 388.7 kB / 1.119 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.8119, allocations: 238.8 kB / 1.12 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.812, allocations: 353.7 kB / 1.12 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.813, allocations: 0.67 MB / 1.121 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.8143, allocations: 1.061 MB / 1.122 GB, free: 13 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.8164, allocations: 1.71 MB / 1.123 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.8164, allocations: 4 kB / 1.123 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002929/0.8194, allocations: 1.933 MB / 1.125 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.8194, allocations: 10.34 kB / 1.125 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.8194, allocations: 12 kB / 1.125 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.8194, allocations: 16 kB / 1.125 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/0.8203, allocations: 368.1 kB / 1.125 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/0.8204, allocations: 23.92 kB / 1.126 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/0.8214, allocations: 258.6 kB / 1.126 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.8214, allocations: 67.97 kB / 1.126 GB, free: 8.457 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.0005963/0.822, allocations: 396.2 kB / 1.126 GB, free: 8.062 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.8223, allocations: 206.7 kB / 1.126 GB, free: 7.859 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.8249, allocations: 1.848 MB / 1.128 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.8249, allocations: 12 kB / 1.128 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.8249, allocations: 0 / 1.128 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.825, allocations: 7.984 kB / 1.128 GB, free: 5.984 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005206/0.8302, allocations: 3.995 MB / 1.132 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.8302, allocations: 8 kB / 1.132 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/0.8309, allocations: 267.6 kB / 1.132 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.8309, allocations: 11.94 kB / 1.132 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.536e-05/0.831, allocations: 43.97 kB / 1.132 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.831, allocations: 11.94 kB / 1.132 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.831, allocations: 12 kB / 1.132 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/0.8349, allocations: 2.944 MB / 1.135 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/0.8359, allocations: 334.3 kB / 1.136 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.8361, allocations: 28 kB / 1.136 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/0.8368, allocations: 119.9 kB / 1.136 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.8369, allocations: 96.33 kB / 1.136 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.837, allocations: 51.97 kB / 1.136 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001215/0.8382, allocations: 1.188 MB / 1.137 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8382, allocations: 4 kB / 1.137 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001065/0.8392, allocations: 471.5 kB / 1.138 GB, free: 12.15 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.004887/0.8441, allocations: 3.97 MB / 1.141 GB, free: 8.258 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.847, allocations: 1.589 MB / 1.143 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.847, allocations: 4 kB / 1.143 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.8481, allocations: 0.7859 MB / 1.144 GB, free: 5.883 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.8507, allocations: 0.98 MB / 1.145 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3649/1.216, allocations: 14.78 MB / 1.159 GB, free: 301.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/1.216, allocations: 1.375 MB / 1.16 GB, free: 300.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001509/1.218, allocations: 470.3 kB / 1.161 GB, free: 300.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/1.219, allocations: 0.7268 MB / 1.162 GB, free: 300.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.583e-06/1.219, allocations: 0 / 1.162 GB, free: 300.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/1.287, allocations: 51.91 MB / 1.212 GB, free: 270.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.164/10.45, allocations: 0 / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 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.420337891904637] Failed to read output from testmodel.py, exit status != 0: 10.577738276915625 10.589030769 9.810486708 Calling exit ...