Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.0007515/0.0007515, 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.0008741/0.0008741, allocations: 221.7 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.9562/0.9562, allocations: 230.6 MB / 256 MB, free: 9.805 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.8014/0.8014, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.001393/0.001393, allocations: 65.98 kB / 0.7182 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5817, allocations: 102 MB / 0.8178 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002213/0.5839, allocations: 1.864 MB / 0.8196 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.5841, allocations: 115.6 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.5842, allocations: 1.781 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.5843, allocations: 20.27 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.47e-05/0.5844, allocations: 54.06 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.5846, allocations: 31.56 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.5847, allocations: 174 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.5849, allocations: 22.08 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.5849, allocations: 57.62 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.585, allocations: 74.92 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.585, allocations: 9.906 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.436e-05/0.5851, allocations: 13.25 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.5851, allocations: 21.38 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.5852, allocations: 60.86 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.5853, allocations: 127.1 kB / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5853, allocations: 0 / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5853, allocations: 0 / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5854, allocations: 0 / 0.8204 GB, free: 15.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005736/0.5859, allocations: 386.8 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.586, allocations: 11.97 kB / 0.8208 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.586, allocations: 44.45 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.586, allocations: 11.86 kB / 0.8208 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.5863, allocations: 155.9 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.5863, allocations: 3.125 kB / 0.821 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.5863, allocations: 9.125 kB / 0.821 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.5866, allocations: 123.6 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.5866, allocations: 3.938 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5866, allocations: 2.562 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5866, allocations: 3.219 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.5868, allocations: 93.34 kB / 0.8212 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.5873, allocations: 442.4 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.5876, allocations: 128.5 kB / 0.8217 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.5877, allocations: 56.64 kB / 0.8218 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.5877, allocations: 2.797 kB / 0.8218 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5878, allocations: 32.75 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.717e-06/0.5878, allocations: 3.984 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003669/0.5881, allocations: 188.3 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.5882, allocations: 77.11 kB / 0.8221 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.5883, allocations: 173 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.5883, allocations: 31.62 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.5884, allocations: 106.3 kB / 0.8224 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.5884, allocations: 30.36 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.5884, allocations: 26.66 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.5885, allocations: 327.1 kB / 0.8228 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.5886, allocations: 43.58 kB / 0.8228 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.5887, allocations: 63.61 kB / 0.8229 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.5889, allocations: 109.4 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5889, allocations: 0.7031 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002239/0.5891, allocations: 146.2 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5891, allocations: 9.312 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5891, allocations: 0.8906 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5891, allocations: 0 / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.5892, allocations: 25.67 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5892, allocations: 2.906 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.5893, allocations: 20.27 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5893, allocations: 3.328 kB / 0.8232 GB, free: 13.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 7.771e-05/0.5894, allocations: 126.2 kB / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.5894, allocations: 11.39 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.5897, allocations: 159.7 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5897, allocations: 0.6562 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5897, allocations: 1.781 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5897, allocations: 4.594 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.5899, allocations: 196.1 kB / 0.8236 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5899, allocations: 3.719 kB / 0.8236 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.59, allocations: 19.88 kB / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.59, allocations: 0 / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.59, allocations: 4.609 kB / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.59, allocations: 1.844 kB / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.59, allocations: 0.8438 kB / 0.8237 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.5903, allocations: 318.2 kB / 0.824 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.5903, allocations: 12.98 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.5903, allocations: 10.08 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.5904, allocations: 8.703 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.5905, allocations: 11.44 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.5905, allocations: 5.531 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.5905, allocations: 123.3 kB / 0.8241 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5905, allocations: 0 / 0.8241 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001956/0.5907, allocations: 28.22 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.000463/0.5912, allocations: 0.8467 MB / 0.825 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.5914, allocations: 101.6 kB / 0.8251 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5914, allocations: 5.188 kB / 0.8251 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.5915, allocations: 47.02 kB / 0.8251 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.5919, allocations: 36.66 kB / 0.8252 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.5938, allocations: 1.841 MB / 0.827 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.594, allocations: 0.7067 MB / 0.8277 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.777e-05/0.5941, allocations: 18.02 kB / 0.8277 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.5942, allocations: 36.89 kB / 0.8277 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5942, allocations: 0 / 0.8277 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.6165, allocations: 3.781 MB / 0.8314 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.654/7.27, allocations: 12.7 kB / 0.8314 GB, free: 9.027 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.207634600810707] Failed to read output from testmodel.py, exit status != 0: 7.353449305985123 7.364399523 6.777116457 Calling exit ...