Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.001067/0.001067, 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.001251/0.001251, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9814/0.9814, allocations: 230.6 MB / 256 MB, free: 9.824 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.8323/0.8323, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",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.0009331/0.0009331, allocations: 61.84 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5575, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001879/0.5594, allocations: 0.7313 MB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.5609, allocations: 1.302 MB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.561, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.561, allocations: 5.203 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.5611, allocations: 25.97 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.5618, allocations: 252.6 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.5621, allocations: 254.6 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.5622, allocations: 11.56 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.5623, allocations: 96.8 kB / 0.8205 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.5625, allocations: 103.3 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.5625, allocations: 27.16 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.382e-05/0.5626, allocations: 32.17 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.5627, allocations: 37.66 kB / 0.8207 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.5628, allocations: 85.27 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.5631, allocations: 231 kB / 0.821 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5631, allocations: 4 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5631, allocations: 0 / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5631, allocations: 0 / 0.821 GB, free: 15.35 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000596/0.5637, allocations: 434.8 kB / 0.8214 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5637, allocations: 8.188 kB / 0.8214 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.5638, allocations: 36.75 kB / 0.8214 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.5638, allocations: 17.69 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.5642, allocations: 197.3 kB / 0.8216 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.5642, allocations: 22.34 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.5643, allocations: 20.66 kB / 0.8217 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.5645, allocations: 134.1 kB / 0.8218 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.5645, allocations: 0 / 0.8218 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.5645, allocations: 4.281 kB / 0.8218 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5645, allocations: 5.938 kB / 0.8218 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.5646, allocations: 63.44 kB / 0.8219 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.5652, allocations: 496.7 kB / 0.8223 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.5654, allocations: 137.9 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.5655, allocations: 55.25 kB / 0.8225 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.5655, allocations: 0 / 0.8225 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.5659, allocations: 208.1 kB / 0.8227 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 8.41e-07/0.5659, allocations: 0 / 0.8227 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.000453/0.5663, allocations: 311.4 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.5664, allocations: 94.45 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.5665, allocations: 127 kB / 0.8232 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.5665, allocations: 36.7 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.5666, allocations: 108.1 kB / 0.8234 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.5666, allocations: 51.94 kB / 0.8234 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.5667, allocations: 74.73 kB / 0.8235 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.5668, allocations: 322.3 kB / 0.8238 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.567, allocations: 87.59 kB / 0.8239 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.5671, allocations: 156.5 kB / 0.824 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.5674, allocations: 245.7 kB / 0.8243 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5674, allocations: 1.156 kB / 0.8243 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004805/0.5679, allocations: 361.2 kB / 0.8246 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.5679, allocations: 62.89 kB / 0.8247 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5679, allocations: 7.703 kB / 0.8247 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5679, allocations: 3.688 kB / 0.8247 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.568, allocations: 29.52 kB / 0.8247 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.568, allocations: 4.594 kB / 0.8247 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.5682, allocations: 70.41 kB / 0.8248 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.5683, allocations: 15.81 kB / 0.8248 GB, free: 12.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001161/0.5684, allocations: 144.8 kB / 0.8249 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.5684, allocations: 17.97 kB / 0.825 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.5684, allocations: 14.88 kB / 0.825 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5684, allocations: 7.875 kB / 0.825 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5684, allocations: 1.156 kB / 0.825 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.5684, allocations: 1.312 kB / 0.825 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.569, allocations: 0.5788 MB / 0.8255 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.569, allocations: 2.062 kB / 0.8255 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.569, allocations: 7.672 kB / 0.8256 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.569, allocations: 13.27 kB / 0.8256 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5691, allocations: 10.17 kB / 0.8256 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5691, allocations: 5.375 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5691, allocations: 1.734 kB / 0.8256 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.5694, allocations: 423.4 kB / 0.826 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.5694, allocations: 14.38 kB / 0.826 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.5694, allocations: 9.719 kB / 0.826 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5695, allocations: 18.38 kB / 0.826 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.5696, allocations: 23.48 kB / 0.8261 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.5696, allocations: 15.88 kB / 0.8261 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.018e-05/0.5697, allocations: 94.39 kB / 0.8262 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5697, allocations: 0 / 0.8262 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000286/0.57, allocations: 61.73 kB / 0.8262 GB, free: 11.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00063/0.5706, allocations: 0.961 MB / 0.8272 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.571, allocations: 319.3 kB / 0.8275 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.571, allocations: 0 / 0.8275 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.5712, allocations: 83.61 kB / 0.8275 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.5714, allocations: 36.22 kB / 0.8276 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.5737, allocations: 2.287 MB / 0.8298 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.5739, allocations: 0.7082 MB / 0.8305 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.315e-05/0.574, allocations: 19.64 kB / 0.8305 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.5741, allocations: 37.78 kB / 0.8306 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5741, allocations: 0 / 0.8306 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.597, allocations: 4.353 MB / 0.8348 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/7.384, allocations: 3.25 kB / 0.8348 GB, free: 7.398 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.502540661022067] Failed to read output from testmodel.py, exit status != 0: 7.463379840832204 7.475071594 6.909928791 Calling exit ...