Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0008504/0.0008504, allocations: 100.4 kB / 19.71 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.0008436/0.0008436, allocations: 212.1 kB / 23 MB, free: 2.973 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.9587/0.9587, allocations: 230.6 MB / 256.8 MB, free: 9.57 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.03736/0.03736, allocations: 12.19 MB / 325.4 MB, free: 6.043 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.0005257/0.0005257, allocations: 31.94 kB / 384.8 MB, free: 10.47 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.784/1.784, allocations: 353.9 MB / 0.7795 GB, free: 4.488 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.001584/0.001584, allocations: 127.9 kB / 1.061 GB, free: 24.35 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3392, allocations: 134.9 MB / 1.193 GB, free: 6.879 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002163/0.3414, allocations: 0.8479 MB / 1.194 GB, free: 6.031 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3428, allocations: 1.207 MB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.3429, allocations: 0 / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.343, allocations: 7.875 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.3431, allocations: 15.88 kB / 1.195 GB, free: 4.789 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.3436, allocations: 155.7 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002034/0.3438, allocations: 167.6 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.344, allocations: 29.28 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3441, allocations: 63.83 kB / 1.195 GB, free: 4.383 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3442, allocations: 63.73 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3442, allocations: 16 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.3443, allocations: 27.98 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.431e-05/0.3443, allocations: 19.92 kB / 1.195 GB, free: 4.258 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.3444, allocations: 63.77 kB / 1.196 GB, free: 4.195 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.3446, allocations: 163.4 kB / 1.196 GB, free: 4.035 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3446, allocations: 0 / 1.196 GB, free: 4.035 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3446, allocations: 3.938 kB / 1.196 GB, free: 4.031 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.3446, allocations: 3.938 kB / 1.196 GB, free: 4.027 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007398/0.3454, allocations: 422 kB / 1.196 GB, free: 3.566 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.3454, allocations: 12.03 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.3455, allocations: 12.89 kB / 1.196 GB, free: 3.543 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3459, allocations: 192.3 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3459, allocations: 8.359 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.3459, allocations: 16.38 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.3461, allocations: 86.2 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3461, allocations: 11.88 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.3462, allocations: 7.984 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3462, allocations: 0 / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3463, allocations: 47.95 kB / 1.196 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.3468, allocations: 304.2 kB / 1.197 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.347, allocations: 42.55 kB / 1.197 GB, free: 2.773 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.347, allocations: 28.97 kB / 1.197 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.347, allocations: 0 / 1.197 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.3473, allocations: 103.2 kB / 1.197 GB, free: 2.629 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.3473, allocations: 0 / 1.197 GB, free: 2.629 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0003069/0.3476, allocations: 133.5 kB / 1.197 GB, free: 2.492 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.3476, allocations: 55.41 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3477, allocations: 154.9 kB / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3477, allocations: 29.7 kB / 1.197 GB, free: 2.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.3478, allocations: 115.9 kB / 1.197 GB, free: 2.113 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.3478, allocations: 23.81 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.3479, allocations: 49.69 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.348, allocations: 322.8 kB / 1.198 GB, free: 1.711 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.3481, allocations: 77.66 kB / 1.198 GB, free: 1.629 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.3483, allocations: 162 kB / 1.198 GB, free: 1.426 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.3485, allocations: 208.6 kB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3485, allocations: 0 / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003086/0.3488, allocations: 264.7 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.3488, allocations: 38.02 kB / 1.199 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3489, allocations: 8 kB / 1.199 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.3489, allocations: 4 kB / 1.199 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.988e-05/0.349, allocations: 31.91 kB / 1.199 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.349, allocations: 11.92 kB / 1.199 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3491, allocations: 47.8 kB / 1.199 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3491, allocations: 15.98 kB / 1.199 GB, free: 0.7383 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.091e-05/0.3492, allocations: 121.8 kB / 1.199 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.3492, allocations: 19.95 kB / 1.199 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3493, allocations: 12.7 kB / 1.199 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3493, allocations: 4 kB / 1.199 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3493, allocations: 0 / 1.199 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3493, allocations: 3.938 kB / 1.199 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.3497, allocations: 338.3 kB / 1.199 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3497, allocations: 0 / 1.199 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.3497, allocations: 15.98 kB / 1.199 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3497, allocations: 4 kB / 1.199 GB, free: 188 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3497, allocations: 3.984 kB / 1.199 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3497, allocations: 3.938 kB / 1.199 GB, free: 180 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3497, allocations: 4 kB / 1.199 GB, free: 176 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.35, allocations: 235.4 kB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.35, allocations: 19.94 kB / 1.199 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.35, allocations: 0 / 1.199 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.421e-05/0.3501, allocations: 11.94 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3501, allocations: 11.98 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.3501, allocations: 7.984 kB / 1.199 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.3502, allocations: 100.8 kB / 1.2 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3502, allocations: 0 / 1.2 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001973/0.3504, allocations: 31.94 kB / 1.2 GB, free: 15.75 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001834/0.3506, allocations: 111.2 kB / 1.2 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0005573/0.3511, allocations: 197.2 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3511, allocations: 0 / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.3512, allocations: 35.91 kB / 1.2 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.3514, allocations: 24.36 kB / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.352, allocations: 290.8 kB / 1.2 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.352, allocations: 102.1 kB / 1.2 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.3521, allocations: 15.44 kB / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of SimCode: time 8.12e-07/0.3521, allocations: 0 / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of Templates: time 0.003109/0.3552, allocations: 1.77 MB / 1.202 GB, free: 13.15 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.106807609088719] Failed to read output from testmodel.py, exit status != 0: 0.3629771526902914 0.377556155 0.030122279000000002 Calling exit ...