Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008274/0.0008274, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008132/0.0008132, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.917/0.917, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.766/0.766, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.416e-06/3.416e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.44e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00236/0.002385, allocations: 1.916 MB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.004133, allocations: 1.579 MB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.00432, allocations: 8 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.431e-05/0.004414, allocations: 67.19 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.004613, allocations: 95.05 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.005206, allocations: 306.1 kB / 0.6219 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.005696, allocations: 0.6564 MB / 0.6226 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.006008, allocations: 246.3 kB / 0.6228 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.006327, allocations: 363.3 kB / 0.6232 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.006525, allocations: 183.4 kB / 0.6233 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.006602, allocations: 68 kB / 0.6234 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.006717, allocations: 95.98 kB / 0.6235 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.006789, allocations: 135.5 kB / 0.6236 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.006917, allocations: 195.5 kB / 0.6238 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.007495, allocations: 0.837 MB / 0.6246 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.007498, allocations: 0 / 0.6246 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007499, allocations: 3.938 kB / 0.6246 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.007506, allocations: 0 / 0.6246 GB, free: 6.926 MB / 0.5886 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.0008744/0.008381, allocations: 0.7486 MB / 0.6254 GB, free: 6.137 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.008418, allocations: 8.031 kB / 0.6254 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.996e-05/0.008488, allocations: 98.7 kB / 0.6255 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.008694, allocations: 68.55 kB / 0.6255 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.009042, allocations: 301.7 kB / 0.6258 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.009071, allocations: 41.69 kB / 0.6258 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.009123, allocations: 60.38 kB / 0.6259 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.009724, allocations: 0.5032 MB / 0.6264 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.00974, allocations: 192 / 0.6264 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.009782, allocations: 28.3 kB / 0.6264 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.009797, allocations: 20.12 kB / 0.6264 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006943/0.01049, allocations: 357.1 kB / 0.6268 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.0123, allocations: 1.252 MB / 0.628 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.01273, allocations: 261.4 kB / 0.6283 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.01299, allocations: 161.6 kB / 0.6284 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.01302, allocations: 7.938 kB / 0.6284 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.01337, allocations: 199 kB / 0.6286 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.01337, allocations: 0 / 0.6286 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34): time 0.000558/0.01393, allocations: 397.1 kB / 0.629 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.01398, allocations: 81.11 kB / 0.6291 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.01433, allocations: 417.5 kB / 0.6295 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.01437, allocations: 29.7 kB / 0.6295 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.01454, allocations: 280.4 kB / 0.6298 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.01461, allocations: 115 kB / 0.6299 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.01473, allocations: 86.12 kB / 0.63 GB, free: 1.254 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.0149, allocations: 354.7 kB / 0.6303 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.01514, allocations: 166.6 kB / 0.6304 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.01548, allocations: 233.5 kB / 0.6307 GB, free: 484 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.01586, allocations: 353.8 kB / 0.631 GB, free: 104 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01586, allocations: 0 / 0.631 GB, free: 104 kB / 0.5886 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007052/0.01657, allocations: 0.4934 MB / 0.6315 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.01661, allocations: 36.2 kB / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.01662, allocations: 0 / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.01665, allocations: 4 kB / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.01684, allocations: 92.02 kB / 0.6316 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.01685, allocations: 4 kB / 0.6316 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.01705, allocations: 83.47 kB / 0.6317 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.01708, allocations: 19.94 kB / 0.6317 GB, free: 15.35 MB / 0.6042 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.0001815/0.01726, allocations: 170.7 kB / 0.6319 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.01731, allocations: 43.75 kB / 0.6319 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.01778, allocations: 335.5 kB / 0.6322 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.01779, allocations: 4 kB / 0.6322 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.0178, allocations: 4 kB / 0.6323 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.01781, allocations: 4 kB / 0.6323 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.01868, allocations: 0.888 MB / 0.6331 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01869, allocations: 4.188 kB / 0.6331 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.01903, allocations: 67.83 kB / 0.6332 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.01903, allocations: 4 kB / 0.6332 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.01905, allocations: 8 kB / 0.6332 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.01906, allocations: 3.938 kB / 0.6332 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01906, allocations: 4 kB / 0.6332 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.01951, allocations: 0.5062 MB / 0.6337 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.01957, allocations: 59.58 kB / 0.6338 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.0196, allocations: 12 kB / 0.6338 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.01972, allocations: 11.98 kB / 0.6338 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.01979, allocations: 27.95 kB / 0.6338 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.0198, allocations: 8 kB / 0.6338 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000236/0.02004, allocations: 291.2 kB / 0.6341 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02004, allocations: 0 / 0.6341 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003295/0.02037, allocations: 103.8 kB / 0.6342 GB, free: 12.7 MB / 0.6042 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.0007522/0.02112, allocations: 1.08 MB / 0.6352 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.02159, allocations: 384.8 kB / 0.6356 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.02159, allocations: 0 / 0.6356 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.02175, allocations: 128.4 kB / 0.6357 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.02217, allocations: 74.64 kB / 0.6358 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.02598, allocations: 3.912 MB / 0.6396 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.02614, allocations: 224.8 kB / 0.6398 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.02625, allocations: 43.27 kB / 0.6399 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.02639, allocations: 156.5 kB / 0.64 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.02639, allocations: 0 / 0.64 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.04818, allocations: 8.133 MB / 0.648 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.106, allocations: 4.609 kB / 0.648 GB, free: 14.57 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.986338093876839] Failed to read output from testmodel.py, exit status != 0: 7.191791954450309 7.200160439 7.191002922 Calling exit ...