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.001463/0.001463, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001785/0.001785, allocations: 210.9 kB / 22.24 MB, free: 5.262 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.797 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.0668/0.0668, allocations: 12.18 MB / 324.6 MB, free: 7.191 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.0007342/0.0007342, allocations: 34.22 kB / 384.1 MB, free: 47.34 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.58/2.58, allocations: 353.9 MB / 0.7787 GB, free: 1.676 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.004078/0.004078, allocations: 125 kB / 1.06 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3244, allocations: 134.9 MB / 1.192 GB, free: 5.793 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00206/0.3264, allocations: 0.709 MB / 1.193 GB, free: 5.086 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3281, allocations: 1.114 MB / 1.194 GB, free: 3.961 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.3281, allocations: 0 / 1.194 GB, free: 3.961 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.3281, allocations: 3.938 kB / 1.194 GB, free: 3.957 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.3282, allocations: 15.88 kB / 1.194 GB, free: 3.941 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.3286, allocations: 51.81 kB / 1.194 GB, free: 3.891 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3287, allocations: 71.78 kB / 1.194 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3288, allocations: 20.16 kB / 1.194 GB, free: 3.797 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.3289, allocations: 31.86 kB / 1.194 GB, free: 3.766 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.329, allocations: 31.84 kB / 1.194 GB, free: 3.734 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.329, allocations: 4 kB / 1.194 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.255e-05/0.3291, allocations: 19.98 kB / 1.194 GB, free: 3.711 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.3291, allocations: 11.98 kB / 1.194 GB, free: 3.699 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3291, allocations: 27.86 kB / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3293, allocations: 79.69 kB / 1.194 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3293, allocations: 0 / 1.194 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3293, allocations: 0 / 1.194 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3293, allocations: 0 / 1.194 GB, free: 3.594 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.0006298/0.3299, allocations: 306 kB / 1.195 GB, free: 3.266 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.33, allocations: 15.98 kB / 1.195 GB, free: 3.25 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.33, allocations: 8.891 kB / 1.195 GB, free: 3.242 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3302, allocations: 114.4 kB / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3302, allocations: 8.375 kB / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3302, allocations: 4.375 kB / 1.195 GB, free: 3.094 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3304, allocations: 66.22 kB / 1.195 GB, free: 3.023 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3304, allocations: 7.875 kB / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3304, allocations: 4 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3304, allocations: 0 / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3306, allocations: 43.95 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006702/0.3313, allocations: 268.3 kB / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3315, allocations: 50.55 kB / 1.195 GB, free: 2.617 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3316, allocations: 32.91 kB / 1.195 GB, free: 2.582 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3316, allocations: 0 / 1.195 GB, free: 2.582 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.3318, allocations: 83.41 kB / 1.195 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3318, allocations: 0 / 1.195 GB, free: 2.488 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.000462/0.3323, allocations: 129.8 kB / 1.195 GB, free: 2.355 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.3323, allocations: 55.41 kB / 1.195 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3324, allocations: 117.8 kB / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3325, allocations: 29.7 kB / 1.196 GB, free: 2.129 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.3325, allocations: 96.08 kB / 1.196 GB, free: 2.031 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3326, allocations: 15.89 kB / 1.196 GB, free: 2.016 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3326, allocations: 29.72 kB / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.3328, allocations: 326.8 kB / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3329, allocations: 31.91 kB / 1.196 GB, free: 1.621 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3331, allocations: 71.92 kB / 1.196 GB, free: 1.531 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.3334, allocations: 113.9 kB / 1.196 GB, free: 1.398 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3334, allocations: 0 / 1.196 GB, free: 1.398 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003315/0.3337, allocations: 133.4 kB / 1.196 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3338, allocations: 10.09 kB / 1.196 GB, free: 1.254 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3338, allocations: 7.984 kB / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3338, allocations: 7.984 kB / 1.196 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.3339, allocations: 19.92 kB / 1.196 GB, free: 1.219 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3339, allocations: 0 / 1.196 GB, free: 1.219 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.334, allocations: 15.92 kB / 1.196 GB, free: 1.203 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.334, allocations: 8 kB / 1.196 GB, free: 1.195 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 0.0001108/0.3342, allocations: 121.7 kB / 1.197 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.3342, allocations: 11.94 kB / 1.197 GB, free: 1.055 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.3342, allocations: 12.38 kB / 1.197 GB, free: 1.039 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3342, allocations: 4 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3342, allocations: 0 / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3342, allocations: 0 / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.3347, allocations: 318 kB / 1.197 GB, free: 0.6875 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3347, allocations: 0 / 1.197 GB, free: 0.6875 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.3348, allocations: 7.984 kB / 1.197 GB, free: 0.6797 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3348, allocations: 0 / 1.197 GB, free: 0.6797 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3348, allocations: 4 kB / 1.197 GB, free: 0.6758 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3348, allocations: 8 kB / 1.197 GB, free: 0.668 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3348, allocations: 0 / 1.197 GB, free: 0.668 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.3351, allocations: 203.4 kB / 1.197 GB, free: 464 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.3351, allocations: 3.953 kB / 1.197 GB, free: 460 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3351, allocations: 4 kB / 1.197 GB, free: 456 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.3352, allocations: 3.984 kB / 1.197 GB, free: 452 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.3353, allocations: 11.98 kB / 1.197 GB, free: 440 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3353, allocations: 11.88 kB / 1.197 GB, free: 428 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.491e-05/0.3353, allocations: 87.28 kB / 1.197 GB, free: 340 kB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.3353, allocations: 4 kB / 1.197 GB, free: 336 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002668/0.3356, allocations: 23.92 kB / 1.197 GB, free: 312 kB / 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.0001705/0.3358, allocations: 103.6 kB / 1.197 GB, free: 204 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3361, allocations: 75.88 kB / 1.197 GB, free: 128 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3361, allocations: 0 / 1.197 GB, free: 128 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3362, allocations: 36.36 kB / 1.197 GB, free: 92 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.3365, allocations: 18.59 kB / 1.197 GB, free: 76 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004642/0.337, allocations: 162.4 kB / 1.198 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.703e-05/0.3371, allocations: 82.95 kB / 1.198 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.3371, allocations: 8 kB / 1.198 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.3371, allocations: 11.44 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3371, allocations: 4 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.004119/0.3412, allocations: 1.051 MB / 1.199 GB, free: 14.76 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.390438586473465] Failed to read output from testmodel.py, exit status != 0: 0.3510269783437252 0.365722013 0.033105665 Calling exit ...