Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.001579/0.001579, allocations: 103.6 kB / 18.95 MB, free: 2.82 MB / 14.72 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.001792/0.001792, allocations: 217.1 kB / 22.24 MB, free: 5.117 MB / 14.72 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 1.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 1.343/1.343, allocations: 203.5 MB / 0.5038 GB, free: 4.891 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [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.0022/0.0022, allocations: 71.91 kB / 0.7183 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6436, allocations: 102 MB / 0.8179 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001999/0.6456, allocations: 0.7276 MB / 0.8186 GB, free: 28.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.6471, allocations: 1.172 MB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.6472, allocations: 1.031 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.303e-05/0.6472, allocations: 3.938 kB / 0.8197 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.6473, allocations: 15.73 kB / 0.8197 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.6478, allocations: 142 kB / 0.8199 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.648, allocations: 114.3 kB / 0.82 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.6481, allocations: 11.12 kB / 0.82 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.6482, allocations: 50.22 kB / 0.82 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.6483, allocations: 40.92 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.6483, allocations: 10.69 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.6484, allocations: 19.45 kB / 0.8201 GB, free: 27.65 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.6484, allocations: 20.78 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.6485, allocations: 35.41 kB / 0.8202 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.6487, allocations: 113.9 kB / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6487, allocations: 0 / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6487, allocations: 1.156 kB / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6487, allocations: 0.5 kB / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005498/0.6493, allocations: 337.7 kB / 0.8206 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.6493, allocations: 10.28 kB / 0.8206 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.6494, allocations: 7.859 kB / 0.8206 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.465e-05/0.6494, allocations: 119.7 kB / 0.8207 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.6494, allocations: 4.531 kB / 0.8207 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.6495, allocations: 11.03 kB / 0.8207 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.6497, allocations: 60.25 kB / 0.8208 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.6497, allocations: 4.125 kB / 0.8208 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6497, allocations: 10 kB / 0.8208 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6497, allocations: 1.125 kB / 0.8208 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.6499, allocations: 39.22 kB / 0.8208 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.6503, allocations: 256.6 kB / 0.8211 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.6505, allocations: 57.56 kB / 0.8211 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.6506, allocations: 35.77 kB / 0.8212 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.6506, allocations: 5.219 kB / 0.8212 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.6509, allocations: 92.94 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.6509, allocations: 0 / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0004755/0.6514, allocations: 144.5 kB / 0.8214 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.6514, allocations: 54.11 kB / 0.8215 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.6515, allocations: 125.6 kB / 0.8216 GB, free: 26.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.6515, allocations: 33.27 kB / 0.8216 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.6516, allocations: 90.09 kB / 0.8217 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.6516, allocations: 21.09 kB / 0.8217 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.6517, allocations: 39.23 kB / 0.8218 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.6517, allocations: 319.3 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.6519, allocations: 82.02 kB / 0.8221 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.6521, allocations: 116.5 kB / 0.8222 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.6524, allocations: 146.9 kB / 0.8224 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6524, allocations: 2.594 kB / 0.8224 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004889/0.6529, allocations: 243 kB / 0.8226 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.653, allocations: 39.3 kB / 0.8227 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.653, allocations: 7.094 kB / 0.8227 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.653, allocations: 1.938 kB / 0.8227 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.6531, allocations: 11.66 kB / 0.8227 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6531, allocations: 9.469 kB / 0.8227 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.6533, allocations: 34.91 kB / 0.8227 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.6533, allocations: 7.797 kB / 0.8227 GB, free: 25.58 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.309e-05/0.6534, allocations: 131.2 kB / 0.8229 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.6534, allocations: 7.5 kB / 0.8229 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.6535, allocations: 10.39 kB / 0.8229 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6535, allocations: 2.203 kB / 0.8229 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6535, allocations: 0 / 0.8229 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6535, allocations: 4.703 kB / 0.8229 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.6538, allocations: 322.7 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.6539, allocations: 0 / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.6539, allocations: 8.625 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6539, allocations: 1.766 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6539, allocations: 2.094 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6539, allocations: 0 / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6539, allocations: 0.6562 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.6542, allocations: 218.1 kB / 0.8234 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.6542, allocations: 7.125 kB / 0.8234 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.6542, allocations: 2.203 kB / 0.8234 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.6543, allocations: 6.734 kB / 0.8234 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.6544, allocations: 6.641 kB / 0.8234 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.6544, allocations: 5.469 kB / 0.8234 GB, free: 25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.6544, allocations: 92.27 kB / 0.8235 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6544, allocations: 0 / 0.8235 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002635/0.6547, allocations: 20.55 kB / 0.8235 GB, free: 24.92 MB / 0.6387 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001434/0.6548, allocations: 105 kB / 0.8236 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.6552, allocations: 197.3 kB / 0.8238 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6552, allocations: 3.938 kB / 0.8238 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.6554, allocations: 39.44 kB / 0.8239 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6557, allocations: 22.03 kB / 0.8239 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.656, allocations: 168 kB / 0.8241 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.455e-05/0.6561, allocations: 70.59 kB / 0.8241 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.6562, allocations: 9.391 kB / 0.8241 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.6562, allocations: 12.53 kB / 0.8241 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6562, allocations: 0 / 0.8241 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of Templates: time 0.005211/0.6614, allocations: 1.591 MB / 0.8257 GB, free: 24.27 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.956627458333969] Failed to read output from testmodel.py, exit status != 0: 0.6703501269221306 0.683062531 0.031730936 Calling exit ...