Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001192/0.001192, 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.0009446/0.0009446, allocations: 169.9 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.9519/0.9519, 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.751/0.751, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.776e-05, allocations: 12.61 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002198/0.002226, allocations: 1.497 MB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006428/0.002869, allocations: 450.9 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.002908, allocations: 0 / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.00294, allocations: 7.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.026e-05/0.00302, allocations: 15.86 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.003176, allocations: 15.92 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.003257, allocations: 55.83 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003366, allocations: 8 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.003434, allocations: 35.84 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.003493, allocations: 15.97 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.003517, allocations: 8 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.003526, allocations: 4 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.003548, allocations: 15.92 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.003584, allocations: 15.97 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003686, allocations: 43.83 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003687, allocations: 0 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.773e-06/0.003689, allocations: 3.984 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.003694, allocations: 4 kB / 0.6201 GB, free: 11.55 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004652/0.004159, allocations: 274.3 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.004207, allocations: 9.469 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.004243, allocations: 46.73 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.004273, allocations: 4.938 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004398, allocations: 109.7 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004412, allocations: 4.375 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.004426, allocations: 8.375 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.004538, allocations: 58.23 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.004546, allocations: 192 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.004557, allocations: 4.125 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.004561, allocations: 0 / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.669e-05/0.004617, allocations: 31.92 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.005045, allocations: 271.7 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.005146, allocations: 54.5 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.005181, allocations: 20.94 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.005196, allocations: 16.02 kB / 0.621 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.005365, allocations: 67.39 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.005366, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002022/0.005568, allocations: 97.61 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.005609, allocations: 55.41 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.005673, allocations: 113.8 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.005686, allocations: 29.7 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.005725, allocations: 80.14 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.005747, allocations: 23.84 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.005779, allocations: 25.72 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.005863, allocations: 326.8 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.005889, allocations: 12 kB / 0.6218 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.005933, allocations: 51.36 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.006011, allocations: 63.42 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006013, allocations: 3.938 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000101/0.006114, allocations: 93.58 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.006133, allocations: 11.98 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006138, allocations: 0 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006149, allocations: 64 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.006214, allocations: 12 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.00622, allocations: 4 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.006263, allocations: 15.92 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.00627, allocations: 7.938 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.361e-05/0.006344, allocations: 119.1 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.006352, allocations: 11.98 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.006378, allocations: 8.125 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.00638, allocations: 3.938 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.006385, allocations: 3.938 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.006389, allocations: 0 / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.006688, allocations: 325.5 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00669, allocations: 0 / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.006705, allocations: 7.984 kB / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.006708, allocations: 0 / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.006716, allocations: 4.281 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.006721, allocations: 11.94 kB / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.006722, allocations: 0 / 0.6225 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.006829, allocations: 179.4 kB / 0.6227 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.006839, allocations: 7.984 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.00685, allocations: 4 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.006899, allocations: 11.92 kB / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.006939, allocations: 7.984 kB / 0.6227 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.006946, allocations: 3.938 kB / 0.6227 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.006977, allocations: 83.28 kB / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006977, allocations: 0 / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001696/0.007146, allocations: 23.89 kB / 0.6228 GB, free: 8.484 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003064/0.007453, allocations: 0.7124 MB / 0.6235 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.007568, allocations: 48.19 kB / 0.6236 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.007571, allocations: 7.938 kB / 0.6236 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.007606, allocations: 23.94 kB / 0.6236 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.007815, allocations: 20.2 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.008719, allocations: 1.358 MB / 0.625 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.276e-05/0.008772, allocations: 71.41 kB / 0.625 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.008798, allocations: 7.984 kB / 0.625 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.008845, allocations: 20.5 kB / 0.6251 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of SimCode: time 4.098e-06/0.008849, allocations: 3.938 kB / 0.6251 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.02518, allocations: 2.46 MB / 0.6275 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/6.868, allocations: 4.859 kB / 0.6275 GB, free: 3.77 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.928854993544519] Failed to read output from testmodel.py, exit status != 0: 6.947512271814048 6.955496918 6.949977812 Calling exit ...