Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001959/0.001959, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002644/0.002644, allocations: 219.6 kB / 22.26 MB, free: 5.125 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.988 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.06386/0.06386, allocations: 12.19 MB / 324.6 MB, free: 7.281 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.0007922/0.0007922, allocations: 28.58 kB / 384.1 MB, free: 46.67 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.808/2.808, allocations: 353.8 MB / 0.7787 GB, free: 1.066 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [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.003515/0.003515, allocations: 127.5 kB / 1.061 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2517, allocations: 134.9 MB / 1.192 GB, free: 6.195 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001886/0.2535, allocations: 0.744 MB / 1.193 GB, free: 5.453 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2549, allocations: 1.125 MB / 1.194 GB, free: 4.316 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.255, allocations: 3.938 kB / 1.194 GB, free: 4.312 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.255, allocations: 7.938 kB / 1.194 GB, free: 4.305 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.2551, allocations: 11.88 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.2554, allocations: 51.81 kB / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2555, allocations: 75.83 kB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.2556, allocations: 16.17 kB / 1.194 GB, free: 4.148 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.2557, allocations: 31.86 kB / 1.194 GB, free: 4.117 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.2557, allocations: 27.91 kB / 1.194 GB, free: 4.09 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.2558, allocations: 8 kB / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.2558, allocations: 23.92 kB / 1.194 GB, free: 4.059 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2558, allocations: 15.92 kB / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.2559, allocations: 27.86 kB / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.256, allocations: 79.69 kB / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.256, allocations: 0 / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.052e-06/0.256, allocations: 0 / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.256, allocations: 0 / 1.194 GB, free: 3.938 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.0005194/0.2566, allocations: 320 kB / 1.195 GB, free: 3.598 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2566, allocations: 11.98 kB / 1.195 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2566, allocations: 8.891 kB / 1.195 GB, free: 3.578 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2567, allocations: 117.5 kB / 1.195 GB, free: 3.441 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2568, allocations: 4.375 kB / 1.195 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.2568, allocations: 16.25 kB / 1.195 GB, free: 3.422 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.257, allocations: 66.22 kB / 1.195 GB, free: 3.352 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.257, allocations: 7.938 kB / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.257, allocations: 0 / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.257, allocations: 0 / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.2572, allocations: 43.95 kB / 1.195 GB, free: 3.301 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.2578, allocations: 295.7 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.258, allocations: 54.55 kB / 1.195 GB, free: 2.906 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.2581, allocations: 28.95 kB / 1.195 GB, free: 2.875 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2581, allocations: 4 kB / 1.195 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.2583, allocations: 75.41 kB / 1.195 GB, free: 2.785 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2583, allocations: 0 / 1.195 GB, free: 2.785 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004054/0.2587, allocations: 133.6 kB / 1.196 GB, free: 2.648 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2588, allocations: 59.39 kB / 1.196 GB, free: 2.578 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2589, allocations: 113.8 kB / 1.196 GB, free: 2.457 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2589, allocations: 33.7 kB / 1.196 GB, free: 2.418 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.2589, allocations: 92.08 kB / 1.196 GB, free: 2.324 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.259, allocations: 15.91 kB / 1.196 GB, free: 2.309 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.259, allocations: 29.7 kB / 1.196 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2592, allocations: 322.8 kB / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.2593, allocations: 31.97 kB / 1.196 GB, free: 1.918 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2594, allocations: 77.86 kB / 1.196 GB, free: 1.82 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2596, allocations: 109.9 kB / 1.196 GB, free: 1.691 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2596, allocations: 0 / 1.196 GB, free: 1.691 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003115/0.26, allocations: 129.4 kB / 1.197 GB, free: 1.559 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.26, allocations: 9.406 kB / 1.197 GB, free: 1.551 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.26, allocations: 0 / 1.197 GB, free: 1.551 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.26, allocations: 7.984 kB / 1.197 GB, free: 1.543 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.2601, allocations: 20.2 kB / 1.197 GB, free: 1.523 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2601, allocations: 0 / 1.197 GB, free: 1.523 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.642e-05/0.2602, allocations: 19.94 kB / 1.197 GB, free: 1.504 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2602, allocations: 7.984 kB / 1.197 GB, free: 1.496 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.8e-05/0.2603, allocations: 121.7 kB / 1.197 GB, free: 1.367 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.2603, allocations: 7.953 kB / 1.197 GB, free: 1.359 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.2604, allocations: 8.375 kB / 1.197 GB, free: 1.348 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2604, allocations: 4 kB / 1.197 GB, free: 1.344 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2604, allocations: 7.938 kB / 1.197 GB, free: 1.336 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2604, allocations: 0 / 1.197 GB, free: 1.336 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.2608, allocations: 349.4 kB / 1.197 GB, free: 0.9453 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2608, allocations: 0 / 1.197 GB, free: 0.9453 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.2609, allocations: 7.984 kB / 1.197 GB, free: 0.9375 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2609, allocations: 0 / 1.197 GB, free: 0.9375 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.2609, allocations: 7.984 kB / 1.197 GB, free: 0.9297 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2609, allocations: 7.938 kB / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2609, allocations: 4 kB / 1.197 GB, free: 0.918 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.2612, allocations: 195.4 kB / 1.197 GB, free: 0.7109 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.2612, allocations: 7.953 kB / 1.197 GB, free: 0.7031 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.2612, allocations: 0 / 1.197 GB, free: 0.7031 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.2613, allocations: 11.92 kB / 1.197 GB, free: 0.6914 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.2614, allocations: 12 kB / 1.197 GB, free: 0.6797 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.2614, allocations: 3.984 kB / 1.197 GB, free: 0.6758 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.2614, allocations: 91.22 kB / 1.197 GB, free: 0.5859 MB / 0.8263 GB Notification: Performance of sort global known variables: time 8e-08/0.2614, allocations: 0 / 1.197 GB, free: 0.5859 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002605/0.2617, allocations: 23.92 kB / 1.197 GB, free: 0.5625 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.0001338/0.2618, allocations: 100.2 kB / 1.198 GB, free: 468 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.2621, allocations: 83.92 kB / 1.198 GB, free: 384 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2621, allocations: 0 / 1.198 GB, free: 384 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2622, allocations: 31.92 kB / 1.198 GB, free: 352 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.2625, allocations: 11.98 kB / 1.198 GB, free: 340 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.2628, allocations: 162 kB / 1.198 GB, free: 148 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.2632, allocations: 0.6966 MB / 1.199 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.2632, allocations: 4 kB / 1.199 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.2632, allocations: 11.44 kB / 1.199 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.2632, allocations: 0 / 1.199 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.003742/0.267, allocations: 0.9965 MB / 1.199 GB, free: 14.43 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.274465199559927] Failed to read output from testmodel.py, exit status != 0: 0.2748850993812084 0.289166023 0.030143629 Calling exit ...