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.0008913/0.0008913, 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.001482/0.001482, 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.9011/0.9011, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.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.7512/0.7512, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.076e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00144/0.001461, allocations: 0.6491 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.002855, allocations: 1.19 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.002915, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.002949, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.003028, allocations: 11.81 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.003519, allocations: 146.1 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.003676, allocations: 143.7 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.003762, allocations: 4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.003865, allocations: 87.86 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.701e-05/0.003952, allocations: 47.92 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.003976, allocations: 12 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.004033, allocations: 27.92 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.00406, allocations: 23.91 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.004113, allocations: 43.95 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004271, allocations: 147.6 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004273, allocations: 3.938 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004274, allocations: 0 / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004277, allocations: 0 / 0.6206 GB, free: 11.14 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.0004609/0.004738, allocations: 339.9 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.004774, allocations: 16.03 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.693e-05/0.004801, allocations: 34.73 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.004838, allocations: 12.89 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.005091, allocations: 149.9 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.005113, allocations: 12.36 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.005134, allocations: 8.375 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.00528, allocations: 86.12 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005289, allocations: 192 / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.005302, allocations: 8.375 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.005308, allocations: 7.938 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.196e-05/0.00539, allocations: 35.97 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.005845, allocations: 299.8 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.005989, allocations: 82.58 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.006035, allocations: 32.78 kB / 0.6217 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.006044, allocations: 0 / 0.6217 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.006276, allocations: 138.5 kB / 0.6218 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.006279, allocations: 4 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003497/0.006628, allocations: 197.5 kB / 0.622 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.006665, allocations: 55.41 kB / 0.622 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.006734, allocations: 117.7 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.006757, allocations: 37.64 kB / 0.6222 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.006799, allocations: 88.14 kB / 0.6223 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.006822, allocations: 35.88 kB / 0.6223 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.006879, allocations: 49.69 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.006957, allocations: 318.8 kB / 0.6227 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.007046, allocations: 81.67 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.007138, allocations: 114 kB / 0.6228 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.007262, allocations: 141.9 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.007271, allocations: 0 / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003048/0.007576, allocations: 244.9 kB / 0.6232 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.00761, allocations: 33.7 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.007615, allocations: 4.125 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.007629, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.007698, allocations: 11.94 kB / 0.6233 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.007706, allocations: 7.984 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.007878, allocations: 35.92 kB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.007898, allocations: 8 kB / 0.6233 GB, free: 8.078 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 0.0001003/0.007998, allocations: 134.7 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/0.008017, allocations: 15.89 kB / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.00805, allocations: 8.438 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.008053, allocations: 4 kB / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008057, allocations: 0 / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.008061, allocations: 0 / 0.6235 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.008418, allocations: 409 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.00842, allocations: 0 / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.008444, allocations: 11.92 kB / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.008447, allocations: 4 kB / 0.6239 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.008456, allocations: 7.938 kB / 0.6239 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.008458, allocations: 0 / 0.6239 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008459, allocations: 4 kB / 0.6239 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.008637, allocations: 271.4 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.008644, allocations: 3.953 kB / 0.6241 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.008663, allocations: 8 kB / 0.6241 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.008712, allocations: 7.984 kB / 0.6242 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.008751, allocations: 15.97 kB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.008759, allocations: 8 kB / 0.6242 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.008791, allocations: 87.27 kB / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008791, allocations: 0 / 0.6243 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000181/0.008972, allocations: 32 kB / 0.6243 GB, free: 6.992 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.0004127/0.009385, allocations: 0.8138 MB / 0.6251 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.009652, allocations: 201 kB / 0.6253 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009653, allocations: 0 / 0.6253 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.009717, allocations: 63.61 kB / 0.6253 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.009914, allocations: 15.58 kB / 0.6254 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.01126, allocations: 1.839 MB / 0.6271 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.01131, allocations: 71.25 kB / 0.6272 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.01134, allocations: 16.34 kB / 0.6272 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.01139, allocations: 24.48 kB / 0.6273 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.01139, allocations: 0 / 0.6273 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.02896, allocations: 3.569 MB / 0.6307 GB, free: 384 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.779, allocations: 1.875 kB / 0.6307 GB, free: 384 kB / 0.5886 GB " [Timeout remaining time 653] (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: 9.61413751076907] Failed to read output from testmodel.py, exit status != 0: 6.858374199829996 6.866439483 6.859660107 Calling exit ...