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.000788/0.000788, 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.0008559/0.0008559, 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.8682/0.8682, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.72/0.72, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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 3.877e-06/3.877e-06, allocations: 0 / 0.618 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.472e-05, allocations: 4.812 kB / 0.618 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002296/0.002331, allocations: 0.6404 MB / 0.6187 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.004108, allocations: 1.182 MB / 0.6198 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.00417, allocations: 0 / 0.6198 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.004203, allocations: 3.938 kB / 0.6198 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.004278, allocations: 7.875 kB / 0.6198 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.00479, allocations: 150 kB / 0.62 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.004954, allocations: 143.7 kB / 0.6201 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.00505, allocations: 11.98 kB / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.005152, allocations: 83.88 kB / 0.6202 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.005245, allocations: 47.91 kB / 0.6203 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.00527, allocations: 12 kB / 0.6203 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.005333, allocations: 31.92 kB / 0.6203 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.00536, allocations: 19.92 kB / 0.6203 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.005416, allocations: 39.95 kB / 0.6204 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.005598, allocations: 155.6 kB / 0.6205 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005601, allocations: 0 / 0.6205 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.005603, allocations: 0 / 0.6205 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.005608, allocations: 0 / 0.6205 GB, free: 10.11 MB / 0.5417 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.0005099/0.006118, allocations: 343.8 kB / 0.6208 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.006162, allocations: 13.47 kB / 0.6208 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.006197, allocations: 38.73 kB / 0.6209 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.00624, allocations: 16.83 kB / 0.6209 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.006537, allocations: 149.9 kB / 0.621 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.00656, allocations: 8.359 kB / 0.621 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.006585, allocations: 16.31 kB / 0.6211 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.006726, allocations: 82.19 kB / 0.6211 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.006733, allocations: 192 / 0.6211 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.006745, allocations: 8.375 kB / 0.6212 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.006751, allocations: 7.875 kB / 0.6212 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.006823, allocations: 43.91 kB / 0.6212 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.007265, allocations: 295.9 kB / 0.6215 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.007412, allocations: 82.58 kB / 0.6216 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.00746, allocations: 32.78 kB / 0.6216 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.007471, allocations: 0 / 0.6216 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.007697, allocations: 130.7 kB / 0.6217 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.007699, allocations: 4 kB / 0.6217 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0003065/0.008005, allocations: 205.5 kB / 0.6219 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.008043, allocations: 59.39 kB / 0.622 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.008113, allocations: 113.8 kB / 0.6221 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.008133, allocations: 29.7 kB / 0.6221 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.008177, allocations: 92.12 kB / 0.6222 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.008201, allocations: 31.75 kB / 0.6222 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.008258, allocations: 49.69 kB / 0.6223 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.008334, allocations: 318.8 kB / 0.6226 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.008431, allocations: 81.67 kB / 0.6227 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.008529, allocations: 114.8 kB / 0.6228 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.008656, allocations: 133.9 kB / 0.6229 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008658, allocations: 0 / 0.6229 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002446/0.008903, allocations: 248 kB / 0.6231 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.008935, allocations: 40.48 kB / 0.6232 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.008941, allocations: 320 / 0.6232 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.008954, allocations: 0 / 0.6232 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.009013, allocations: 19.92 kB / 0.6232 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.009019, allocations: 4 kB / 0.6232 GB, free: 7.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.009133, allocations: 31.92 kB / 0.6232 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.009155, allocations: 19.98 kB / 0.6232 GB, free: 7.039 MB / 0.5417 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.728e-05/0.009243, allocations: 130.8 kB / 0.6234 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.009255, allocations: 11.89 kB / 0.6234 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.009285, allocations: 12.44 kB / 0.6234 GB, free: 6.875 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.009287, allocations: 4 kB / 0.6234 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.009293, allocations: 3.938 kB / 0.6234 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.0093, allocations: 11.91 kB / 0.6234 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.009614, allocations: 397.5 kB / 0.6238 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009616, allocations: 0 / 0.6238 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.00964, allocations: 7.984 kB / 0.6238 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.009644, allocations: 4 kB / 0.6238 GB, free: 6.406 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.009653, allocations: 4 kB / 0.6238 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009655, allocations: 0 / 0.6238 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.009658, allocations: 3.938 kB / 0.6238 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.009847, allocations: 275.4 kB / 0.6241 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.009855, allocations: 3.953 kB / 0.6241 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.009873, allocations: 4 kB / 0.6241 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.009927, allocations: 11.98 kB / 0.6241 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.00997, allocations: 11.97 kB / 0.6241 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.00998, allocations: 12 kB / 0.6241 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.01001, allocations: 83.27 kB / 0.6242 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.01001, allocations: 0 / 0.6242 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002061/0.01022, allocations: 36 kB / 0.6242 GB, free: 5.953 MB / 0.5417 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.0004532/0.01067, allocations: 0.8155 MB / 0.625 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.01091, allocations: 206.4 kB / 0.6252 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01092, allocations: 0 / 0.6252 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.01098, allocations: 55.91 kB / 0.6253 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01119, allocations: 15.05 kB / 0.6253 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.01254, allocations: 1.84 MB / 0.6271 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.155e-05/0.01259, allocations: 79.2 kB / 0.6272 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.01263, allocations: 8.5 kB / 0.6272 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.01267, allocations: 24.48 kB / 0.6272 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/0.01267, allocations: 4 kB / 0.6272 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.03174, allocations: 3.569 MB / 0.6307 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.128, allocations: 10.92 kB / 0.6307 GB, free: 15.34 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.680957687087357] Failed to read output from testmodel.py, exit status != 0: 7.209014658816159 7.224255807 7.216244305 Calling exit ...