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.001405/0.001405, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001752/0.001752, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.075/1.075, allocations: 177.2 MB / 203.8 MB, free: 5.477 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-545:108: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-545:116: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.8252/0.8252, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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: 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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 480 MB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.374e-05, allocations: 6.375 kB / 480.1 MB, free: 6.852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001467/0.001491, allocations: 0.7827 MB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.002676, allocations: 1.202 MB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.002725, allocations: 0.5469 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.002753, allocations: 4.625 kB / 482 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.00283, allocations: 12.53 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.003205, allocations: 137.1 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.003345, allocations: 119.7 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.003422, allocations: 11.98 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.003531, allocations: 67.59 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.003612, allocations: 33.48 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.003631, allocations: 9.984 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.003714, allocations: 27.98 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.003739, allocations: 16.78 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.003794, allocations: 29.05 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.003969, allocations: 99.67 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003971, allocations: 0 / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.003972, allocations: 1.156 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.003975, allocations: 0 / 482.6 MB, free: 4.363 MB / 442.7 MB 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.0004675/0.004443, allocations: 302.2 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.004482, allocations: 17.89 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.004523, allocations: 4.938 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.004628, allocations: 121.7 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.004643, allocations: 8.375 kB / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.004657, allocations: 4.375 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.004756, allocations: 64.03 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004764, allocations: 192 / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.00477, allocations: 0.9062 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004776, allocations: 4.375 kB / 483.1 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.257e-05/0.004809, allocations: 16.52 kB / 483.1 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.005144, allocations: 181.4 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.00524, allocations: 38.62 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.005272, allocations: 13.77 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.005279, allocations: 0 / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.005395, allocations: 68.25 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 2.244e-06/0.005397, allocations: 1.078 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.000168/0.005565, allocations: 78.56 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.005604, allocations: 59.39 kB / 483.6 MB, free: 3.289 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.005697, allocations: 130.6 kB / 483.7 MB, free: 3.152 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.005727, allocations: 33.7 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.00578, allocations: 84.77 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.005809, allocations: 20.5 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.005882, allocations: 37.69 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.005993, allocations: 323.4 kB / 484.2 MB, free: 2.641 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.00607, allocations: 49.69 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.006164, allocations: 90.55 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.006289, allocations: 103.6 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006292, allocations: 5.781 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002166/0.006508, allocations: 161 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.006544, allocations: 37.69 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.00655, allocations: 4.594 kB / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.006565, allocations: 8.938 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.006646, allocations: 15.98 kB / 484.6 MB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006651, allocations: 4 kB / 484.6 MB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.006768, allocations: 25.03 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.006788, allocations: 10.17 kB / 484.7 MB, free: 2.07 MB / 442.7 MB 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 8.364e-05/0.006871, allocations: 125.7 kB / 484.8 MB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.006887, allocations: 4 kB / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.006915, allocations: 12.44 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.006919, allocations: 7.922 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.006922, allocations: 2.031 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006925, allocations: 0 / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.007189, allocations: 214.8 kB / 485 MB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.007192, allocations: 4 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.007236, allocations: 13.83 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.00724, allocations: 0 / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.007249, allocations: 3.938 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007251, allocations: 0 / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.007252, allocations: 0 / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.007368, allocations: 157.2 kB / 485.2 MB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.00738, allocations: 7.953 kB / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.0074, allocations: 8.766 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.405e-05/0.007464, allocations: 4 kB / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.007499, allocations: 9.141 kB / 485.2 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.007506, allocations: 4 kB / 485.2 MB, free: 1.461 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.333e-05/0.00753, allocations: 16.84 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00753, allocations: 1.125 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.007776, allocations: 20 kB / 485.3 MB, free: 1.422 MB / 442.7 MB 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.0001264/0.007903, allocations: 89.59 kB / 485.4 MB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.008096, allocations: 150.7 kB / 485.5 MB, free: 1.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.0081, allocations: 0 / 485.5 MB, free: 1.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.00814, allocations: 22.2 kB / 485.5 MB, free: 1.137 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.008344, allocations: 20.11 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.008655, allocations: 168.1 kB / 485.7 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/0.008697, allocations: 63.28 kB / 485.8 MB, free: 0.8438 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.008727, allocations: 9.297 kB / 485.8 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-05/0.008827, allocations: 75.28 kB / 485.9 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008828, allocations: 0.6875 kB / 485.9 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of Templates: time 0.00463/0.01346, allocations: 1.65 MB / 487.5 MB, free: 15.24 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6648422740399837]