Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0007916/0.0007916, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009192/0.0009192, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9481/0.9481, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.7686/0.7686, allocations: 203.5 MB / 0.5039 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 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.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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.001273/0.001273, allocations: 65.84 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5464, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001418/0.5478, allocations: 0.6539 MB / 0.818 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.5489, allocations: 1.184 MB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.549, allocations: 4 kB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.549, allocations: 6.781 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.5491, allocations: 5.297 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.5495, allocations: 144.7 kB / 0.8193 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.5497, allocations: 137.2 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5498, allocations: 8 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.5499, allocations: 62.47 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.55, allocations: 49.66 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.55, allocations: 17.75 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.775e-05/0.5501, allocations: 29.81 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.5501, allocations: 17.28 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.5502, allocations: 47.86 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.5504, allocations: 130.3 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5504, allocations: 0 / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5504, allocations: 0 / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.5504, allocations: 0 / 0.8198 GB, free: 15.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000521/0.551, allocations: 346.6 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.551, allocations: 8.156 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.551, allocations: 40.7 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.5511, allocations: 10.98 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.5514, allocations: 153.6 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.5514, allocations: 13.44 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.5514, allocations: 11.25 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.5516, allocations: 92.19 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5516, allocations: 0 / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5516, allocations: 1.312 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5516, allocations: 2.594 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.5517, allocations: 46.31 kB / 0.8205 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.5521, allocations: 300.1 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.5523, allocations: 87.3 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.5523, allocations: 32.73 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.5524, allocations: 7.969 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.5526, allocations: 119.1 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.5526, allocations: 4 kB / 0.821 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003245/0.5529, allocations: 204.9 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.553, allocations: 55.09 kB / 0.8213 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.553, allocations: 114 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5531, allocations: 34.75 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.5531, allocations: 92.89 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.5531, allocations: 35.48 kB / 0.8215 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.5532, allocations: 48.11 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.5533, allocations: 325.5 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.5534, allocations: 78.55 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.5535, allocations: 118 kB / 0.8221 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.5536, allocations: 135 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5536, allocations: 0 / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002649/0.5539, allocations: 240.5 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.5539, allocations: 35.39 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5539, allocations: 3.406 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5539, allocations: 5.016 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.554, allocations: 9.531 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.554, allocations: 9.531 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.5541, allocations: 39.8 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.5541, allocations: 9.328 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 9.38e-05/0.5542, allocations: 129 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.5542, allocations: 9.828 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.5543, allocations: 18.58 kB / 0.8227 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5543, allocations: 1.812 kB / 0.8227 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5543, allocations: 3.984 kB / 0.8227 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5543, allocations: 5.766 kB / 0.8227 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.5547, allocations: 405.2 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5547, allocations: 1.031 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.5547, allocations: 4.281 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5547, allocations: 1.984 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5547, allocations: 3.703 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.5547, allocations: 0.6094 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5547, allocations: 5.125 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.5549, allocations: 274.6 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.5549, allocations: 8.828 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.555, allocations: 1.578 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.555, allocations: 11.45 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.5551, allocations: 15.56 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5551, allocations: 13.83 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.5551, allocations: 82.36 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5551, allocations: 0 / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001914/0.5553, allocations: 35.84 kB / 0.8235 GB, free: 12.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004349/0.5557, allocations: 0.8114 MB / 0.8243 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.556, allocations: 206.2 kB / 0.8245 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.556, allocations: 1.188 kB / 0.8245 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.556, allocations: 48.78 kB / 0.8246 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.5562, allocations: 24.78 kB / 0.8246 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.5577, allocations: 1.82 MB / 0.8264 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.374e-05/0.5578, allocations: 81.91 kB / 0.8265 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.5578, allocations: 8.141 kB / 0.8265 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.5579, allocations: 22.45 kB / 0.8265 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.5579, allocations: 1.094 kB / 0.8265 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.5775, allocations: 3.442 MB / 0.8298 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/7.486, allocations: 12.53 kB / 0.8299 GB, free: 9.234 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.csv --start-time -10 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.453333742450923] Failed to read output from testmodel.py, exit status != 0: 7.565577715169638 7.579525234 7.025660894 Calling exit ...