Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.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.0009649/0.0009649, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009352/0.0009352, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8914/0.8914, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5549/0.5549, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.5543 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/2.008e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001201/0.001221, allocations: 0.6582 MB / 0.5549 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007596/0.001981, allocations: 0.8393 MB / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.00201, allocations: 0 / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.002035, allocations: 3.938 kB / 0.5557 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.002089, allocations: 0 / 0.5557 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.002262, allocations: 15.92 kB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.622e-05/0.002328, allocations: 27.92 kB / 0.5558 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.002413, allocations: 7.984 kB / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.002477, allocations: 15.94 kB / 0.5558 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.157e-05/0.002508, allocations: 11.92 kB / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.002525, allocations: 4 kB / 0.5558 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.002565, allocations: 4 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.002577, allocations: 4 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.002592, allocations: 3.984 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.129e-05/0.002683, allocations: 31.89 kB / 0.5558 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002685, allocations: 0 / 0.5558 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.002686, allocations: 0 / 0.5558 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.00269, allocations: 4 kB / 0.5558 GB, free: 1.082 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005375/0.003228, allocations: 266.3 kB / 0.5561 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.003264, allocations: 8.625 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.458e-05/0.003288, allocations: 34.75 kB / 0.5561 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.003345, allocations: 4.938 kB / 0.5561 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.003416, allocations: 113.8 kB / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.003425, allocations: 384 / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.003432, allocations: 384 / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.003551, allocations: 50.23 kB / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.003558, allocations: 192 / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.003565, allocations: 4.375 kB / 0.5563 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.003572, allocations: 8.125 kB / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.003654, allocations: 31.91 kB / 0.5563 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.003897, allocations: 212.1 kB / 0.5565 GB, free: 256 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.003972, allocations: 30.56 kB / 0.5566 GB, free: 216 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.004014, allocations: 24.91 kB / 0.5566 GB, free: 188 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.004032, allocations: 3.984 kB / 0.5566 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.004051, allocations: 42.44 kB / 0.5566 GB, free: 132 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.004053, allocations: 3.984 kB / 0.5566 GB, free: 128 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.004251, allocations: 81.61 kB / 0.5567 GB, free: 40 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.00429, allocations: 55.39 kB / 0.5568 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.00434, allocations: 101.9 kB / 0.5569 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.004349, allocations: 29.64 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.004378, allocations: 80.14 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.004392, allocations: 12.02 kB / 0.557 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.004418, allocations: 21.7 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.004486, allocations: 310.8 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.004529, allocations: 19.98 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.004562, allocations: 11.98 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.004638, allocations: 44.75 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00464, allocations: 64 / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.761e-05/0.004737, allocations: 65.61 kB / 0.5574 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.00475, allocations: 11.98 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.004755, allocations: 0 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.004765, allocations: 0 / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.004823, allocations: 4 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.004828, allocations: 4 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.004851, allocations: 11.98 kB / 0.5575 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.004856, allocations: 4.031 kB / 0.5575 GB, free: 15.21 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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 4.608e-05/0.004902, allocations: 105.8 kB / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.004915, allocations: 7.938 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.005042, allocations: 76.89 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005044, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.005047, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.00505, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.503e-05/0.005145, allocations: 132.7 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005146, allocations: 32 / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.005172, allocations: 11.98 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.005175, allocations: 3.938 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.00518, allocations: 0 / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.005182, allocations: 4 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005183, allocations: 0 / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.005302, allocations: 163.5 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-06/0.005308, allocations: 3.938 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.005317, allocations: 3.984 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.005352, allocations: 8.031 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.005386, allocations: 11.98 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.005388, allocations: 0 / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.005412, allocations: 79.28 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005412, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001359/0.005548, allocations: 7.938 kB / 0.5581 GB, free: 14.53 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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.0002841/0.005832, allocations: 0.6929 MB / 0.5587 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.005949, allocations: 39.89 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005951, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.005988, allocations: 23.92 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.006183, allocations: 6.5 kB / 0.5588 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.006487, allocations: 130.6 kB / 0.5589 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.006527, allocations: 67.47 kB / 0.559 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.006543, allocations: 0 / 0.559 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.006574, allocations: 12.5 kB / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/0.006575, allocations: 0 / 0.559 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.02221, allocations: 1.932 MB / 0.5609 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/6.78, allocations: 14.48 kB / 0.5609 GB, free: 11.67 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Cos.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.35132391564548] Failed to read output from testmodel.py, exit status != 0: 6.860596159473062 6.870288909 6.865900038 Calling exit ...