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.0007951/0.0007951, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00082/0.00082, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9075/0.9075, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6989/0.6989, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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 1.403e-06/1.403e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.151e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001079/0.001091, allocations: 0.6481 MB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.002149, allocations: 1.182 MB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.002193, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.00222, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.002285, allocations: 15.91 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.002658, allocations: 142.7 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.002806, allocations: 143.7 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.002888, allocations: 4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.002979, allocations: 83.92 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.003061, allocations: 47.8 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.003082, allocations: 12 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.756e-05/0.003139, allocations: 35.92 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.003163, allocations: 19.97 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.003215, allocations: 47.89 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.003366, allocations: 147.6 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003368, allocations: 0 / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003369, allocations: 0 / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003372, allocations: 0 / 0.6206 GB, free: 11.13 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.0004181/0.003791, allocations: 339.9 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001089/0.003899, allocations: 12.03 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.003926, allocations: 34.75 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.003963, allocations: 16.89 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.004211, allocations: 153.8 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.004228, allocations: 8.312 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.004247, allocations: 12.38 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.004366, allocations: 82.19 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.004373, allocations: 192 / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004383, allocations: 4.375 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004388, allocations: 3.938 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.004455, allocations: 39.97 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.004822, allocations: 303.8 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.004948, allocations: 78.55 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.004991, allocations: 36.77 kB / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.005001, allocations: 0 / 0.6217 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.005176, allocations: 143.4 kB / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.005177, allocations: 0 / 0.6218 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0002648/0.005442, allocations: 197.6 kB / 0.622 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.005473, allocations: 55.41 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.005531, allocations: 113.8 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.005552, allocations: 37.69 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.00559, allocations: 84.14 kB / 0.6223 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.005613, allocations: 31.75 kB / 0.6223 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.005665, allocations: 49.69 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.005739, allocations: 322.8 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.005821, allocations: 81.61 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.005908, allocations: 116 kB / 0.6228 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.006028, allocations: 149.3 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00603, allocations: 0 / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00022/0.00625, allocations: 244.8 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.006277, allocations: 39.73 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006282, allocations: 0 / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.006293, allocations: 0 / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.889e-05/0.006341, allocations: 16.11 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.006347, allocations: 4 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.006448, allocations: 31.92 kB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.006464, allocations: 15.98 kB / 0.6233 GB, free: 8.07 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 7.052e-05/0.006535, allocations: 126.8 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.006546, allocations: 11.89 kB / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.006572, allocations: 12.42 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006574, allocations: 8 kB / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.006579, allocations: 0 / 0.6235 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.006584, allocations: 3.984 kB / 0.6235 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.006856, allocations: 401.5 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006857, allocations: 4 kB / 0.6239 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.006873, allocations: 4 kB / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.006881, allocations: 4 kB / 0.6239 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.006889, allocations: 0 / 0.6239 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.006891, allocations: 3.984 kB / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006892, allocations: 0 / 0.6239 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.007072, allocations: 275.3 kB / 0.6241 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.007079, allocations: 7.953 kB / 0.6241 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.007097, allocations: 7.984 kB / 0.6241 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.007142, allocations: 11.94 kB / 0.6242 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.007182, allocations: 11.97 kB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.007192, allocations: 15.98 kB / 0.6242 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.007222, allocations: 87.27 kB / 0.6243 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007222, allocations: 3.938 kB / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001789/0.007401, allocations: 31.98 kB / 0.6243 GB, free: 6.98 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.0003779/0.007779, allocations: 0.8175 MB / 0.6251 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.007998, allocations: 201 kB / 0.6253 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007999, allocations: 0 / 0.6253 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.008058, allocations: 51.98 kB / 0.6253 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.008242, allocations: 15.97 kB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.009443, allocations: 1.823 MB / 0.6271 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.00949, allocations: 83.48 kB / 0.6272 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.808e-05/0.009518, allocations: 12.36 kB / 0.6272 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.009556, allocations: 24.48 kB / 0.6272 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.009557, allocations: 0 / 0.6272 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.02405, allocations: 3.569 MB / 0.6307 GB, free: 388 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/6.748, allocations: 3.984 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.327853791415691] Failed to read output from testmodel.py, exit status != 0: 6.827021937817335 6.836713839 6.831677972 Calling exit ...