Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.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.0008371/0.0008371, 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.00086/0.00086, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.9738/0.9738, 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.7956/0.7956, 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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_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.0009117/0.0009117, allocations: 64.38 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5018, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002457/0.5043, allocations: 2.22 MB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.506, allocations: 1.592 MB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.5062, allocations: 7.938 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.5063, allocations: 63.62 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.5065, allocations: 92.72 kB / 0.8217 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.5071, allocations: 301.6 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005186/0.5076, allocations: 0.6452 MB / 0.8226 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.508, allocations: 269.5 kB / 0.8229 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.5082, allocations: 236.3 kB / 0.8231 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.5084, allocations: 254.2 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.5085, allocations: 78.47 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.5086, allocations: 97.81 kB / 0.8235 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.5087, allocations: 126.4 kB / 0.8236 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.5089, allocations: 295.4 kB / 0.8239 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007025/0.5096, allocations: 0.7954 MB / 0.8247 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5096, allocations: 1.562 kB / 0.8247 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5096, allocations: 4.594 kB / 0.8247 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.5096, allocations: 0 / 0.8247 GB, free: 12.79 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0009169/0.5105, allocations: 0.7569 MB / 0.8255 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5105, allocations: 10.94 kB / 0.8255 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.288e-05/0.5106, allocations: 97.03 kB / 0.8256 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.5108, allocations: 69.83 kB / 0.8256 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.5111, allocations: 295.2 kB / 0.8259 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.5112, allocations: 42.81 kB / 0.8259 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.5112, allocations: 63.64 kB / 0.826 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.5118, allocations: 0.512 MB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5118, allocations: 6.125 kB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.5119, allocations: 20 kB / 0.8265 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5119, allocations: 14.22 kB / 0.8265 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.5123, allocations: 357.5 kB / 0.8269 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.5138, allocations: 1.391 MB / 0.8282 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.5142, allocations: 269.2 kB / 0.8285 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.5145, allocations: 168.8 kB / 0.8287 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.5145, allocations: 9.672 kB / 0.8287 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.5149, allocations: 194.4 kB / 0.8289 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.5149, allocations: 0 / 0.8289 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.000569/0.5154, allocations: 396.7 kB / 0.8292 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.5155, allocations: 85.27 kB / 0.8293 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.5158, allocations: 416.1 kB / 0.8297 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.5159, allocations: 36.58 kB / 0.8297 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.516, allocations: 267.2 kB / 0.83 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.5161, allocations: 114.6 kB / 0.8301 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.5162, allocations: 81.39 kB / 0.8302 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.5163, allocations: 356.9 kB / 0.8305 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.5165, allocations: 133.6 kB / 0.8307 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.5167, allocations: 203 kB / 0.8308 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.5172, allocations: 350.4 kB / 0.8312 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5172, allocations: 0.625 kB / 0.8312 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007597/0.5179, allocations: 472.5 kB / 0.8316 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.518, allocations: 39.34 kB / 0.8317 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.518, allocations: 6.5 kB / 0.8317 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.518, allocations: 3.344 kB / 0.8317 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.5182, allocations: 79.86 kB / 0.8318 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.5182, allocations: 7.953 kB / 0.8318 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.5184, allocations: 84.33 kB / 0.8318 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.5184, allocations: 18.44 kB / 0.8319 GB, free: 8.387 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001426/0.5186, allocations: 171.5 kB / 0.832 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.5186, allocations: 42.53 kB / 0.8321 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.5191, allocations: 326.8 kB / 0.8324 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5191, allocations: 11.16 kB / 0.8324 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5191, allocations: 5.859 kB / 0.8324 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5191, allocations: 2.172 kB / 0.8324 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.52, allocations: 0.9418 MB / 0.8333 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.52, allocations: 5.781 kB / 0.8333 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.5202, allocations: 61.98 kB / 0.8334 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5202, allocations: 3.438 kB / 0.8334 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.5202, allocations: 8.516 kB / 0.8334 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.5202, allocations: 8.891 kB / 0.8334 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5202, allocations: 1.062 kB / 0.8334 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.5207, allocations: 0.5162 MB / 0.8339 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.5207, allocations: 69.22 kB / 0.834 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.5207, allocations: 8.5 kB / 0.834 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.5209, allocations: 13.52 kB / 0.834 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.5209, allocations: 27.95 kB / 0.834 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.5209, allocations: 10.06 kB / 0.834 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002336/0.5212, allocations: 287 kB / 0.8343 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5212, allocations: 0 / 0.8343 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003141/0.5215, allocations: 113.9 kB / 0.8344 GB, free: 6.781 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000648/0.5221, allocations: 1.058 MB / 0.8354 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004777/0.5226, allocations: 360.6 kB / 0.8358 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5226, allocations: 1.25 kB / 0.8358 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.5228, allocations: 128.1 kB / 0.8359 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.5232, allocations: 69.78 kB / 0.836 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.5269, allocations: 3.783 MB / 0.8397 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.5272, allocations: 0.8273 MB / 0.8405 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.5274, allocations: 43.86 kB / 0.8405 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.5275, allocations: 157.5 kB / 0.8407 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/0.5275, allocations: 0 / 0.8407 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.5493, allocations: 7.542 MB / 0.848 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.492, allocations: 7.953 kB / 0.848 GB, free: 15.29 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > IDEAS_dev_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.46481481892988] Failed to read output from testmodel.py, exit status != 0: 7.5764353750273585 7.58550766 7.074006122 Calling exit ...