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.001547/0.001547, 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.001066/0.001066, 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.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.03915/0.03915, allocations: 12.19 MB / 325.4 MB, free: 6.074 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.0004883/0.0004883, allocations: 27.94 kB / 384.9 MB, free: 10.49 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.921/1.921, allocations: 353.8 MB / 0.7794 GB, free: 4.555 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.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.001481/0.001481, allocations: 117.7 kB / 1.061 GB, free: 24.49 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2748, allocations: 134.9 MB / 1.193 GB, free: 7 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001671/0.2765, allocations: 0.7161 MB / 1.194 GB, free: 6.289 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2776, allocations: 1.117 MB / 1.195 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.2777, allocations: 0 / 1.195 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.2777, allocations: 3.938 kB / 1.195 GB, free: 5.156 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.2778, allocations: 15.86 kB / 1.195 GB, free: 5.141 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2781, allocations: 51.83 kB / 1.195 GB, free: 5.09 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2782, allocations: 71.78 kB / 1.195 GB, free: 5.02 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2783, allocations: 16.17 kB / 1.195 GB, free: 5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.2784, allocations: 31.91 kB / 1.195 GB, free: 4.969 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.2784, allocations: 27.84 kB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2785, allocations: 8 kB / 1.195 GB, free: 4.934 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.2785, allocations: 19.98 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.2786, allocations: 15.92 kB / 1.195 GB, free: 4.898 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.2786, allocations: 23.92 kB / 1.195 GB, free: 4.875 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.2787, allocations: 83.62 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2787, allocations: 3.984 kB / 1.195 GB, free: 4.789 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2788, allocations: 0 / 1.195 GB, free: 4.789 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2788, allocations: 0 / 1.195 GB, free: 4.789 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.0004596/0.2792, allocations: 306 kB / 1.195 GB, free: 4.461 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2793, allocations: 8.031 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.2793, allocations: 16.89 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.2794, allocations: 110.5 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.2794, allocations: 12.36 kB / 1.195 GB, free: 4.293 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.2794, allocations: 4.375 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2796, allocations: 66.17 kB / 1.196 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2796, allocations: 3.938 kB / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2796, allocations: 0 / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2796, allocations: 0 / 1.196 GB, free: 4.215 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.2797, allocations: 47.95 kB / 1.196 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.2801, allocations: 264.3 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.2802, allocations: 50.55 kB / 1.196 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.2803, allocations: 28.97 kB / 1.196 GB, free: 3.789 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2803, allocations: 3.984 kB / 1.196 GB, free: 3.785 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.2805, allocations: 83.31 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2805, allocations: 0 / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002733/0.2807, allocations: 129.6 kB / 1.196 GB, free: 3.559 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.2808, allocations: 59.41 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.2809, allocations: 121.8 kB / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2809, allocations: 25.7 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.2809, allocations: 96.08 kB / 1.196 GB, free: 3.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2809, allocations: 11.91 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.281, allocations: 37.7 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.2811, allocations: 318.8 kB / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.067e-05/0.2811, allocations: 27.97 kB / 1.197 GB, free: 2.828 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.2812, allocations: 78.36 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2813, allocations: 109.8 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2813, allocations: 0 / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001806/0.2815, allocations: 129.5 kB / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2815, allocations: 8.219 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2815, allocations: 4 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2815, allocations: 4 kB / 1.197 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.2816, allocations: 23.91 kB / 1.197 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2816, allocations: 4 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.2817, allocations: 7.938 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.2817, allocations: 11.98 kB / 1.197 GB, free: 2.406 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.547e-05/0.2818, allocations: 127.8 kB / 1.197 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.2818, allocations: 3.953 kB / 1.197 GB, free: 2.27 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.2818, allocations: 12.38 kB / 1.197 GB, free: 2.254 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2818, allocations: 4 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2818, allocations: 0 / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2818, allocations: 0 / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.2821, allocations: 314.4 kB / 1.198 GB, free: 1.906 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2821, allocations: 3.938 kB / 1.198 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.2821, allocations: 11.97 kB / 1.198 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2821, allocations: 0 / 1.198 GB, free: 1.891 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2821, allocations: 4 kB / 1.198 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2822, allocations: 8 kB / 1.198 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2822, allocations: 80 / 1.198 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.2823, allocations: 211.4 kB / 1.198 GB, free: 1.656 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.2823, allocations: 3.953 kB / 1.198 GB, free: 1.652 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.2823, allocations: 4 kB / 1.198 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.2824, allocations: 7.984 kB / 1.198 GB, free: 1.641 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2824, allocations: 7.984 kB / 1.198 GB, free: 1.633 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2824, allocations: 7.938 kB / 1.198 GB, free: 1.625 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.2825, allocations: 103.3 kB / 1.198 GB, free: 1.523 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2825, allocations: 7.938 kB / 1.198 GB, free: 1.516 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001749/0.2826, allocations: 15.94 kB / 1.198 GB, free: 1.5 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.0001377/0.2828, allocations: 103.2 kB / 1.198 GB, free: 1.391 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.283, allocations: 75.88 kB / 1.198 GB, free: 1.316 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.283, allocations: 0 / 1.198 GB, free: 1.316 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-05/0.283, allocations: 40.34 kB / 1.198 GB, free: 1.277 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2832, allocations: 8 kB / 1.198 GB, free: 1.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.2835, allocations: 187.8 kB / 1.198 GB, free: 1.051 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.2836, allocations: 79.27 kB / 1.198 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.2836, allocations: 11.44 kB / 1.198 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of SimCode: time 3.81e-07/0.2836, allocations: 4 kB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of Templates: time 0.002015/0.2856, allocations: 1.064 MB / 1.2 GB, free: 15.88 MB / 0.8387 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: 7.999549463391304] Failed to read output from testmodel.py, exit status != 0: 0.2919764146208763 0.30081317100000005 0.020310073 Calling exit ...