Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007863/0.0007863, 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.0008173/0.0008173, allocations: 170.3 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.8908/0.8908, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7053/0.7053, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.TimerNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/2.075e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001272/0.001293, allocations: 0.6485 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002419, allocations: 1.186 MB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.00247, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002498, allocations: 3.938 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/0.002566, allocations: 7.875 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.003028, allocations: 155.2 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.003179, allocations: 139.7 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.003268, allocations: 8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.003363, allocations: 83.86 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.003452, allocations: 43.92 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.003475, allocations: 16 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.003534, allocations: 27.98 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.003559, allocations: 23.91 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.003613, allocations: 39.95 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.00378, allocations: 151.6 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.003783, allocations: 0 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003784, allocations: 0 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.003789, allocations: 0 / 0.6205 GB, free: 11.19 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004636/0.004253, allocations: 335.9 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.00429, allocations: 17.47 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.004318, allocations: 38.73 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.004357, allocations: 12.89 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.004617, allocations: 153.8 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.004636, allocations: 8.359 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.004655, allocations: 12.38 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.004783, allocations: 82.19 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.00479, allocations: 192 / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.004801, allocations: 4.375 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.004807, allocations: 7.938 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.945e-05/0.004877, allocations: 47.84 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.005261, allocations: 299.8 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.005422, allocations: 78.55 kB / 0.6216 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.005462, allocations: 36.72 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.00547, allocations: 96 / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.005667, allocations: 139.2 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.005668, allocations: 0 / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.000283/0.005951, allocations: 197.6 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.005985, allocations: 55.41 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.006045, allocations: 113.7 kB / 0.6221 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.006066, allocations: 33.7 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.006106, allocations: 92.12 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.006129, allocations: 35.89 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.006182, allocations: 45.69 kB / 0.6223 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.006255, allocations: 322.8 kB / 0.6226 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.006342, allocations: 85.67 kB / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.006431, allocations: 112 kB / 0.6228 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.006549, allocations: 137.5 kB / 0.6229 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006551, allocations: 0 / 0.6229 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002328/0.006784, allocations: 248.8 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.006814, allocations: 35.89 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.00682, allocations: 4.125 kB / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.006831, allocations: 0 / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.006889, allocations: 15.98 kB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.006896, allocations: 7.938 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.007005, allocations: 35.86 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/0.007096, allocations: 16 kB / 0.6233 GB, free: 8.117 MB / 0.5886 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 8.765e-05/0.007184, allocations: 122.8 kB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.007197, allocations: 15.89 kB / 0.6234 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.007228, allocations: 8.438 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.007232, allocations: 4 kB / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.007238, allocations: 3.938 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.007244, allocations: 7.969 kB / 0.6234 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.00755, allocations: 401.5 kB / 0.6238 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.007553, allocations: 3.984 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.007576, allocations: 4 kB / 0.6238 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.00758, allocations: 4 kB / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.00759, allocations: 0 / 0.6238 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.007593, allocations: 4 kB / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007594, allocations: 0 / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.007793, allocations: 279.3 kB / 0.6241 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.007801, allocations: 3.953 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.007819, allocations: 7.938 kB / 0.6241 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.00787, allocations: 11.98 kB / 0.6241 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.007914, allocations: 11.97 kB / 0.6241 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.007925, allocations: 12 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.007958, allocations: 87.56 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007958, allocations: 0 / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001911/0.008149, allocations: 32 kB / 0.6242 GB, free: 7.035 MB / 0.5886 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.0004453/0.008594, allocations: 0.8246 MB / 0.625 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.008833, allocations: 201 kB / 0.6252 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008834, allocations: 0 / 0.6252 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/0.008895, allocations: 51.92 kB / 0.6253 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.009091, allocations: 11.98 kB / 0.6253 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.01052, allocations: 1.823 MB / 0.6271 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.786e-05/0.01058, allocations: 87.16 kB / 0.6272 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.01062, allocations: 12.36 kB / 0.6272 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.01066, allocations: 28.42 kB / 0.6272 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.01066, allocations: 0 / 0.6272 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.02818, allocations: 3.573 MB / 0.6307 GB, free: 440 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.021/7.049, allocations: 8.906 kB / 0.6307 GB, free: 436 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.777824497781694] Failed to read output from testmodel.py, exit status != 0: 7.131989658810198 7.141857761 7.135883139 Calling exit ...