Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001823/0.001823, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002722/0.002722, allocations: 221 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.389/3.389, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00198/0.00198, allocations: 65.61 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002868/0.3896, allocations: 1.406 MB / 1.347 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004258/0.3938, allocations: 3.007 MB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.3939, allocations: 3.938 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.932e-05/0.394, allocations: 7.984 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.3941, allocations: 35.81 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.3948, allocations: 195.3 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.3951, allocations: 239.5 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.654e-05/0.3951, allocations: 15.92 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3952, allocations: 95.8 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.3954, allocations: 127.7 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.3955, allocations: 8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.3959, allocations: 155.8 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.396, allocations: 83.78 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.3961, allocations: 91.64 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.3965, allocations: 271.1 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3965, allocations: 7.984 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3965, allocations: 0 / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3965, allocations: 0 / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000976/0.3975, allocations: 469.2 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3976, allocations: 8.031 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.601e-05/0.3976, allocations: 8.125 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/0.3976, allocations: 46.73 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.3978, allocations: 20.84 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.398, allocations: 191.9 kB / 1.352 GB, free: 9.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.3981, allocations: 24.36 kB / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.3981, allocations: 20.12 kB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.3988, allocations: 289.1 kB / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3988, allocations: 0 / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.3988, allocations: 4 kB / 1.352 GB, free: 9.566 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3988, allocations: 7.938 kB / 1.352 GB, free: 9.559 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.4004, allocations: 0.7491 MB / 1.353 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.4008, allocations: 276.4 kB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.4026, allocations: 0.6454 MB / 1.354 GB, free: 7.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005288/0.4031, allocations: 220.6 kB / 1.354 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.4034, allocations: 83.92 kB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4034, allocations: 42.55 kB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 1.232e-06/0.4034, allocations: 0 / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001754/0.4052, allocations: 0.6532 MB / 1.355 GB, free: 6.828 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.4052, allocations: 55.41 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.4054, allocations: 126.1 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.4054, allocations: 33.7 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.4055, allocations: 84.8 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.4056, allocations: 130.9 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4057, allocations: 65.69 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4059, allocations: 330.8 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.4064, allocations: 191.8 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.4069, allocations: 199.8 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.4078, allocations: 369.8 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4078, allocations: 0 / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001105/0.4089, allocations: 464.9 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4089, allocations: 4 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.409, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.409, allocations: 4 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.4094, allocations: 95.86 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4094, allocations: 3.984 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4096, allocations: 55.75 kB / 1.357 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.4096, allocations: 11.98 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001437/0.4097, allocations: 141.8 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.4098, allocations: 19.84 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.411, allocations: 0.5192 MB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.411, allocations: 7.938 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.411, allocations: 3.938 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4111, allocations: 0 / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.4114, allocations: 288.3 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4114, allocations: 8 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.4118, allocations: 103.8 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4118, allocations: 0 / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.4118, allocations: 11.98 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4118, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4118, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.413, allocations: 0.4923 MB / 1.358 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.413, allocations: 19.84 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.413, allocations: 8 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.4132, allocations: 35.95 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.4135, allocations: 119.8 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.4135, allocations: 11.98 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.923e-05/0.4136, allocations: 102 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4136, allocations: 0 / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004584/0.4141, allocations: 127.7 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.001753/0.4158, allocations: 1.116 MB / 1.36 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.417, allocations: 459 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.417, allocations: 0 / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.4175, allocations: 244.6 kB / 1.36 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.418, allocations: 77.42 kB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.4226, allocations: 2.676 MB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.4229, allocations: 0.7405 MB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004366/0.4234, allocations: 190.1 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.4235, allocations: 63.59 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/0.4235, allocations: 0 / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.4539, allocations: 7.822 MB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.01, allocations: 9.891 kB / 1.372 GB, free: 5.215 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.02832544600824] Failed to read output from testmodel.py, exit status != 0: 12.173081426997669 12.189102931 11.789355551 Calling exit ...