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.0007919/0.0007919, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008494/0.0008494, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9844/0.9844, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.7955/0.7955, allocations: 203.5 MB / 0.5039 GB, free: 10.67 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 70.22 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5311, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001597/0.5327, allocations: 0.6495 MB / 0.818 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.5339, allocations: 1.188 MB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.534, allocations: 1.281 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.534, allocations: 4.828 kB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.5341, allocations: 11.17 kB / 0.8192 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.5347, allocations: 143.2 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.5349, allocations: 140.5 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.535, allocations: 5.25 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.5351, allocations: 54.48 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.5353, allocations: 55.12 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.5353, allocations: 18 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.5354, allocations: 28.67 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.5354, allocations: 20.09 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.5355, allocations: 50.45 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.5357, allocations: 128.9 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5357, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5357, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.5358, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 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.000632/0.5364, allocations: 346.9 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5364, allocations: 15.2 kB / 0.8202 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.5365, allocations: 35.81 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.5365, allocations: 15.53 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.5369, allocations: 157.6 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.5369, allocations: 14.17 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.537, allocations: 11.22 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.5372, allocations: 88.69 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5372, allocations: 0 / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.5372, allocations: 2.266 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.5372, allocations: 5.719 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.5373, allocations: 39.45 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.5379, allocations: 301.9 kB / 0.8208 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.5381, allocations: 75.34 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.5382, allocations: 36.33 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.5382, allocations: 0 / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.5385, allocations: 132.4 kB / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.5385, allocations: 0 / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0003831/0.5389, allocations: 198.5 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.539, allocations: 63.3 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.539, allocations: 110.4 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.5391, allocations: 36.95 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.5391, allocations: 89.91 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.5391, allocations: 30.78 kB / 0.8215 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.5392, allocations: 52.12 kB / 0.8216 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.5393, allocations: 324.8 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.5394, allocations: 75.81 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5395, allocations: 121.7 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.5396, allocations: 135 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5396, allocations: 1.375 kB / 0.8222 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002665/0.5399, allocations: 244.2 kB / 0.8224 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.5399, allocations: 34.44 kB / 0.8225 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5399, allocations: 9.344 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.5399, allocations: 3.406 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.54, allocations: 9.469 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.54, allocations: 3.781 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.5401, allocations: 42.23 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.5401, allocations: 12.5 kB / 0.8226 GB, free: 13.5 MB / 0.6198 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 9.127e-05/0.5402, allocations: 126.5 kB / 0.8227 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.5403, allocations: 14.48 kB / 0.8227 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.5403, allocations: 13.08 kB / 0.8227 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5403, allocations: 5.281 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5403, allocations: 2.422 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5403, allocations: 0.6562 kB / 0.8227 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.5407, allocations: 405.4 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5407, allocations: 0 / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.5407, allocations: 5.156 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5407, allocations: 1.438 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5407, allocations: 3.375 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5407, allocations: 1.438 kB / 0.8231 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5407, allocations: 5.078 kB / 0.8231 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.5409, allocations: 274.5 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.541, allocations: 7.328 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.541, allocations: 6.031 kB / 0.8234 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.541, allocations: 6.938 kB / 0.8234 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.5411, allocations: 17.56 kB / 0.8234 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.5411, allocations: 12.66 kB / 0.8234 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.5411, allocations: 81.75 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5411, allocations: 0 / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001982/0.5413, allocations: 38.72 kB / 0.8235 GB, free: 12.74 MB / 0.6198 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.0005483/0.5419, allocations: 0.809 MB / 0.8243 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.5422, allocations: 205.1 kB / 0.8245 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5422, allocations: 0 / 0.8245 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.5423, allocations: 60.5 kB / 0.8246 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.5425, allocations: 18.84 kB / 0.8246 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.5441, allocations: 1.824 MB / 0.8264 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.5442, allocations: 73.28 kB / 0.8264 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.749e-05/0.5442, allocations: 9.484 kB / 0.8265 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.5442, allocations: 23.77 kB / 0.8265 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5442, allocations: 0 / 0.8265 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.5623, allocations: 3.445 MB / 0.8298 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.561, allocations: 4.891 kB / 0.8298 GB, free: 9.223 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.550251073203981] Failed to read output from testmodel.py, exit status != 0: 7.639306284952909 7.654059446 7.115178645 Calling exit ...