Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.0008767/0.0008767, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0008544/0.0008544, allocations: 211.2 kB / 23 MB, free: 2.977 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 1.004/1.004, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.7 MB " [Timeout remaining time 179] 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.0375/0.0375, allocations: 12.19 MB / 325.4 MB, free: 6.051 MB / 250.7 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.0005286/0.0005286, allocations: 23.95 kB / 384.8 MB, free: 10.48 MB / 314.7 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 1.773/1.773, allocations: 353.8 MB / 0.7794 GB, free: 4.574 MB / 0.5105 GB " [Timeout remaining time 178] 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [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.00154/0.00154, allocations: 120.3 kB / 1.061 GB, free: 24.54 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2638, allocations: 134.9 MB / 1.193 GB, free: 7.02 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001672/0.2654, allocations: 0.7187 MB / 1.194 GB, free: 6.305 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2665, allocations: 1.113 MB / 1.195 GB, free: 5.18 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.2666, allocations: 0 / 1.195 GB, free: 5.18 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.2666, allocations: 3.938 kB / 1.195 GB, free: 5.176 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.2667, allocations: 15.86 kB / 1.195 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.267, allocations: 47.89 kB / 1.195 GB, free: 5.113 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2671, allocations: 79.77 kB / 1.195 GB, free: 5.035 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2672, allocations: 20.06 kB / 1.195 GB, free: 5.012 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.2673, allocations: 31.91 kB / 1.195 GB, free: 4.98 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.2674, allocations: 27.84 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2674, allocations: 8 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.2674, allocations: 19.98 kB / 1.195 GB, free: 4.926 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.2675, allocations: 11.97 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.2675, allocations: 23.88 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.268, allocations: 83.67 kB / 1.195 GB, free: 4.809 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.268, allocations: 3.938 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.268, allocations: 0 / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.268, allocations: 0 / 1.195 GB, free: 4.805 MB / 0.823 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.000454/0.2684, allocations: 306 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2685, allocations: 8.031 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.2685, allocations: 8.891 kB / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.2686, allocations: 114.5 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2686, allocations: 8.375 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.2686, allocations: 4.375 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.2688, allocations: 66.17 kB / 1.196 GB, free: 4.242 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2688, allocations: 3.938 kB / 1.196 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2688, allocations: 4 kB / 1.196 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2688, allocations: 11.92 kB / 1.196 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.998e-05/0.2689, allocations: 35.97 kB / 1.196 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.2693, allocations: 260.3 kB / 1.196 GB, free: 3.902 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2695, allocations: 54.58 kB / 1.196 GB, free: 3.84 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.2695, allocations: 36.95 kB / 1.196 GB, free: 3.801 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2695, allocations: 4 kB / 1.196 GB, free: 3.797 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.2697, allocations: 79.36 kB / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.2697, allocations: 0 / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002881/0.27, allocations: 125.5 kB / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.27, allocations: 59.39 kB / 1.196 GB, free: 3.508 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.2701, allocations: 121.8 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2701, allocations: 29.7 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.2701, allocations: 100.1 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.2702, allocations: 11.89 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.2702, allocations: 33.7 kB / 1.196 GB, free: 3.191 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.2703, allocations: 318.8 kB / 1.197 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.2703, allocations: 31.91 kB / 1.197 GB, free: 2.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.2704, allocations: 73.98 kB / 1.197 GB, free: 2.746 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2705, allocations: 109.8 kB / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2705, allocations: 0 / 1.197 GB, free: 2.617 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001728/0.2707, allocations: 141.5 kB / 1.197 GB, free: 2.473 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2707, allocations: 5.719 kB / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2707, allocations: 0 / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2707, allocations: 7.984 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.2708, allocations: 19.92 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2708, allocations: 4 kB / 1.197 GB, free: 2.438 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.2709, allocations: 11.88 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.2709, allocations: 11.98 kB / 1.197 GB, free: 2.414 MB / 0.823 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 7.003e-05/0.271, allocations: 125.9 kB / 1.197 GB, free: 2.281 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-06/0.271, allocations: 3.953 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.271, allocations: 12.38 kB / 1.197 GB, free: 2.262 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.271, allocations: 0 / 1.197 GB, free: 2.262 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.271, allocations: 7.938 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.271, allocations: 0 / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.2713, allocations: 314.1 kB / 1.198 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2713, allocations: 0 / 1.198 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.2713, allocations: 7.938 kB / 1.198 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.2713, allocations: 4 kB / 1.198 GB, free: 1.898 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2713, allocations: 8 kB / 1.198 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2713, allocations: 3.984 kB / 1.198 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2713, allocations: 0 / 1.198 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.2715, allocations: 199.4 kB / 1.198 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.2715, allocations: 3.953 kB / 1.198 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.2715, allocations: 7.984 kB / 1.198 GB, free: 1.664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.2715, allocations: 4 kB / 1.198 GB, free: 1.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.2716, allocations: 11.98 kB / 1.198 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2716, allocations: 7.938 kB / 1.198 GB, free: 1.641 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.2716, allocations: 91.27 kB / 1.198 GB, free: 1.551 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2716, allocations: 0 / 1.198 GB, free: 1.551 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001669/0.2718, allocations: 15.94 kB / 1.198 GB, free: 1.535 MB / 0.823 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.000135/0.2719, allocations: 112.9 kB / 1.198 GB, free: 1.418 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.2721, allocations: 76.14 kB / 1.198 GB, free: 1.344 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2721, allocations: 0 / 1.198 GB, free: 1.344 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.2721, allocations: 32.44 kB / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.2723, allocations: 11.94 kB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.2727, allocations: 191.9 kB / 1.198 GB, free: 1.078 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.204e-05/0.2727, allocations: 83.27 kB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2727, allocations: 15.62 kB / 1.198 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of SimCode: time 6.81e-07/0.2727, allocations: 3.938 kB / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of Templates: time 0.002026/0.2748, allocations: 1.073 MB / 1.2 GB, free: 15.89 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.295864929445088] Failed to read output from testmodel.py, exit status != 0: 0.2807337837293744 0.28894521900000003 0.019320402 Calling exit ...