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.0007339/0.0007339, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007547/0.0007547, allocations: 203.8 kB / 23 MB, free: 3.125 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 0.883/0.883, allocations: 230.6 MB / 256.8 MB, free: 3.445 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.0368/0.0368, allocations: 12.18 MB / 325.4 MB, free: 3.398 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.000428/0.000428, allocations: 27.25 kB / 384.9 MB, free: 45.74 MB / 298.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.561/1.561, allocations: 353.8 MB / 0.7794 GB, free: 13.03 MB / 0.5262 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.00147/0.00147, allocations: 123.6 kB / 1.061 GB, free: 9.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2354, allocations: 134.9 MB / 1.193 GB, free: 2.543 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001452/0.2369, allocations: 0.7494 MB / 1.194 GB, free: 1.805 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009292/0.2378, allocations: 1.128 MB / 1.195 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.2379, allocations: 0 / 1.195 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.2379, allocations: 7.875 kB / 1.195 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.218e-05/0.238, allocations: 15.88 kB / 1.195 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.2382, allocations: 51.88 kB / 1.195 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2383, allocations: 71.72 kB / 1.195 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2384, allocations: 20.16 kB / 1.195 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.2385, allocations: 27.92 kB / 1.195 GB, free: 480 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.2386, allocations: 35.84 kB / 1.195 GB, free: 444 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.2386, allocations: 4 kB / 1.195 GB, free: 440 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.2386, allocations: 12 kB / 1.195 GB, free: 428 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.2386, allocations: 23.91 kB / 1.195 GB, free: 404 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.2387, allocations: 31.86 kB / 1.195 GB, free: 372 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.2388, allocations: 75.69 kB / 1.195 GB, free: 296 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2388, allocations: 4 kB / 1.195 GB, free: 292 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2388, allocations: 0 / 1.195 GB, free: 292 kB / 0.823 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2388, allocations: 0 / 1.195 GB, free: 292 kB / 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.0004367/0.2392, allocations: 310.1 kB / 1.195 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2393, allocations: 15.92 kB / 1.196 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/0.2393, allocations: 8.891 kB / 1.196 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.252e-05/0.2394, allocations: 122.4 kB / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2394, allocations: 4.375 kB / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2394, allocations: 12.38 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2396, allocations: 62.22 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.2396, allocations: 7.938 kB / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2396, allocations: 3.938 kB / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2396, allocations: 0 / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.2397, allocations: 47.89 kB / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.2401, allocations: 295.8 kB / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.2402, allocations: 54.58 kB / 1.196 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.2403, allocations: 28.95 kB / 1.196 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2403, allocations: 3.906 kB / 1.196 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.2404, allocations: 79.38 kB / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2404, allocations: 0 / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0002552/0.2407, allocations: 133.5 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2407, allocations: 51.41 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.2408, allocations: 125.1 kB / 1.196 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.2408, allocations: 29.7 kB / 1.197 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.2408, allocations: 96.08 kB / 1.197 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.2408, allocations: 19.89 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.2409, allocations: 29.7 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.241, allocations: 322.8 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.2411, allocations: 27.98 kB / 1.197 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.2412, allocations: 73.98 kB / 1.197 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.2413, allocations: 109.8 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2413, allocations: 0 / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001626/0.2415, allocations: 129.6 kB / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2415, allocations: 18.17 kB / 1.197 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2415, allocations: 0 / 1.197 GB, free: 13.89 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2415, allocations: 4 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.2416, allocations: 23.92 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2416, allocations: 0 / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.2416, allocations: 15.92 kB / 1.197 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2416, allocations: 4 kB / 1.197 GB, free: 13.84 MB / 0.8387 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 6.345e-05/0.2417, allocations: 118.4 kB / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.2417, allocations: 11.95 kB / 1.197 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2417, allocations: 8.375 kB / 1.197 GB, free: 13.69 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2417, allocations: 4 kB / 1.197 GB, free: 13.69 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2417, allocations: 0 / 1.197 GB, free: 13.69 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2417, allocations: 3.984 kB / 1.197 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.242, allocations: 345.5 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.242, allocations: 0 / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.242, allocations: 15.98 kB / 1.198 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.242, allocations: 0 / 1.198 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.242, allocations: 0 / 1.198 GB, free: 13.28 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.242, allocations: 7.938 kB / 1.198 GB, free: 13.27 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.242, allocations: 11.88 kB / 1.198 GB, free: 13.26 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.2422, allocations: 191.5 kB / 1.198 GB, free: 13.06 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.2422, allocations: 7.953 kB / 1.198 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.2422, allocations: 4 kB / 1.198 GB, free: 13.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.2422, allocations: 11.92 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.2423, allocations: 7.984 kB / 1.198 GB, free: 13.03 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2423, allocations: 4 kB / 1.198 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.2423, allocations: 91.27 kB / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2423, allocations: 0 / 1.198 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001645/0.2425, allocations: 23.94 kB / 1.198 GB, free: 12.91 MB / 0.8387 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.0001085/0.2426, allocations: 103.2 kB / 1.198 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.2428, allocations: 79.81 kB / 1.198 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.2428, allocations: 3.938 kB / 1.198 GB, free: 12.72 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.2428, allocations: 27.98 kB / 1.198 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.243, allocations: 12.42 kB / 1.198 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.2433, allocations: 199.7 kB / 1.199 GB, free: 12.45 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.2435, allocations: 0.6885 MB / 1.199 GB, free: 11.73 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.2435, allocations: 15.38 kB / 1.199 GB, free: 11.72 MB / 0.8387 GB Notification: Performance of SimCode: time 6.11e-07/0.2435, allocations: 0 / 1.199 GB, free: 11.72 MB / 0.8387 GB Notification: Performance of Templates: time 0.00183/0.2453, allocations: 1.049 MB / 1.2 GB, free: 10.68 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: 6.666137737222016] Failed to read output from testmodel.py, exit status != 0: 0.25104399863630533 0.258846784 0.018414349 Calling exit ...