Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001702/0.001702, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.002003/0.002003, allocations: 220.9 kB / 22.26 MB, free: 5.211 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06261/0.06261, allocations: 12.19 MB / 324.6 MB, free: 7.285 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007534/0.0007534, allocations: 29.41 kB / 384.1 MB, free: 46.59 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.521/2.521, allocations: 353.8 MB / 0.7787 GB, free: 1.051 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.003624/0.003624, allocations: 122.8 kB / 1.061 GB, free: 13.06 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2665, allocations: 134.9 MB / 1.192 GB, free: 6.242 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002056/0.2685, allocations: 0.7363 MB / 1.193 GB, free: 5.508 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.27, allocations: 1.133 MB / 1.194 GB, free: 4.363 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.27, allocations: 0 / 1.194 GB, free: 4.363 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.2701, allocations: 7.875 kB / 1.194 GB, free: 4.355 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.2701, allocations: 15.86 kB / 1.194 GB, free: 4.34 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.2704, allocations: 51.88 kB / 1.194 GB, free: 4.289 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2705, allocations: 67.78 kB / 1.194 GB, free: 4.223 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2706, allocations: 20.17 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.2707, allocations: 23.92 kB / 1.194 GB, free: 4.176 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.2708, allocations: 39.83 kB / 1.194 GB, free: 4.137 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2708, allocations: 4 kB / 1.194 GB, free: 4.133 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.2709, allocations: 23.98 kB / 1.194 GB, free: 4.109 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.2709, allocations: 15.94 kB / 1.194 GB, free: 4.094 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.2709, allocations: 31.84 kB / 1.194 GB, free: 4.062 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.2711, allocations: 79.62 kB / 1.194 GB, free: 3.984 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2711, allocations: 4 kB / 1.194 GB, free: 3.98 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2711, allocations: 0 / 1.194 GB, free: 3.98 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.2711, allocations: 0 / 1.194 GB, free: 3.98 MB / 0.8263 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.0005358/0.2716, allocations: 302 kB / 1.195 GB, free: 3.656 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2717, allocations: 19.92 kB / 1.195 GB, free: 3.637 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.2717, allocations: 12.89 kB / 1.195 GB, free: 3.625 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2718, allocations: 110.5 kB / 1.195 GB, free: 3.492 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2718, allocations: 4.375 kB / 1.195 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2719, allocations: 12.3 kB / 1.195 GB, free: 3.477 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.2721, allocations: 66.17 kB / 1.195 GB, free: 3.406 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2721, allocations: 3.938 kB / 1.195 GB, free: 3.402 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2721, allocations: 8 kB / 1.195 GB, free: 3.395 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2721, allocations: 0 / 1.195 GB, free: 3.395 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.2723, allocations: 43.95 kB / 1.195 GB, free: 3.352 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.2729, allocations: 299.7 kB / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.2731, allocations: 46.56 kB / 1.195 GB, free: 2.961 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2732, allocations: 36.95 kB / 1.195 GB, free: 2.922 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2732, allocations: 0 / 1.195 GB, free: 2.922 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.2734, allocations: 75.38 kB / 1.195 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.2734, allocations: 0 / 1.195 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.2739, allocations: 137.8 kB / 1.196 GB, free: 2.695 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.2739, allocations: 55.41 kB / 1.196 GB, free: 2.629 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.274, allocations: 119.6 kB / 1.196 GB, free: 2.504 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.274, allocations: 25.7 kB / 1.196 GB, free: 2.473 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.2741, allocations: 100.1 kB / 1.196 GB, free: 2.371 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2741, allocations: 11.91 kB / 1.196 GB, free: 2.359 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.2742, allocations: 29.7 kB / 1.196 GB, free: 2.324 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2743, allocations: 322.8 kB / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2744, allocations: 27.98 kB / 1.196 GB, free: 1.973 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2746, allocations: 73.92 kB / 1.196 GB, free: 1.879 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.2748, allocations: 113.8 kB / 1.196 GB, free: 1.746 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2748, allocations: 0 / 1.196 GB, free: 1.746 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003336/0.2751, allocations: 141.5 kB / 1.197 GB, free: 1.602 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2752, allocations: 5.25 kB / 1.197 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2752, allocations: 4 kB / 1.197 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2752, allocations: 4 kB / 1.197 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2753, allocations: 19.92 kB / 1.197 GB, free: 1.57 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2753, allocations: 4.062 kB / 1.197 GB, free: 1.566 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-05/0.2754, allocations: 20.14 kB / 1.197 GB, free: 1.547 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2754, allocations: 8 kB / 1.197 GB, free: 1.539 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.563e-05/0.2755, allocations: 117.8 kB / 1.197 GB, free: 1.414 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.2755, allocations: 11.94 kB / 1.197 GB, free: 1.402 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.2756, allocations: 12.31 kB / 1.197 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2756, allocations: 0 / 1.197 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.2756, allocations: 11.92 kB / 1.197 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2756, allocations: 0 / 1.197 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.276, allocations: 341.5 kB / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.276, allocations: 0 / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.2761, allocations: 15.92 kB / 1.197 GB, free: 0.9766 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2761, allocations: 0 / 1.197 GB, free: 0.9766 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.2761, allocations: 0 / 1.197 GB, free: 0.9766 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2761, allocations: 3.938 kB / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2761, allocations: 0 / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.2764, allocations: 203.5 kB / 1.197 GB, free: 0.7578 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.2764, allocations: 3.953 kB / 1.197 GB, free: 0.7539 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2765, allocations: 8 kB / 1.197 GB, free: 0.7461 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.2765, allocations: 11.92 kB / 1.197 GB, free: 0.7344 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.2766, allocations: 3.984 kB / 1.197 GB, free: 0.7305 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2766, allocations: 4 kB / 1.197 GB, free: 0.7266 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.2767, allocations: 94.11 kB / 1.197 GB, free: 0.6367 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.2767, allocations: 7.938 kB / 1.197 GB, free: 0.6289 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002589/0.2769, allocations: 19.94 kB / 1.197 GB, free: 0.6094 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001423/0.2771, allocations: 103.2 kB / 1.198 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.2773, allocations: 75.88 kB / 1.198 GB, free: 436 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2773, allocations: 448 / 1.198 GB, free: 436 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2775, allocations: 35.98 kB / 1.198 GB, free: 400 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.2777, allocations: 7.984 kB / 1.198 GB, free: 392 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.2781, allocations: 166 kB / 1.198 GB, free: 196 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.2784, allocations: 0.6924 MB / 1.199 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.2785, allocations: 8 kB / 1.199 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.2785, allocations: 11.44 kB / 1.199 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.2785, allocations: 0 / 1.199 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.003852/0.2823, allocations: 1.002 MB / 1.2 GB, free: 14.49 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.040345292538404] Failed to read output from testmodel.py, exit status != 0: 0.29183319211006165 0.31868632199999997 0.04265742 Calling exit ...