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.001145/0.001145, allocations: 111 kB / 19.7 MB, free: 0.6367 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.001493/0.001493, allocations: 211.8 kB / 23.01 MB, free: 3.203 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.9334/0.9334, allocations: 230.6 MB / 256.8 MB, free: 9.785 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.03636/0.03636, allocations: 12.18 MB / 325.4 MB, free: 6.262 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.0003974/0.0003974, allocations: 23.91 kB / 384.9 MB, free: 10.68 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.573/1.573, allocations: 353.8 MB / 0.7795 GB, free: 3.059 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.001414/0.001414, allocations: 128.5 kB / 1.061 GB, free: 24.69 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.216, allocations: 134.9 MB / 1.193 GB, free: 7.32 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001556/0.2175, allocations: 0.8738 MB / 1.194 GB, free: 6.445 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2186, allocations: 1.234 MB / 1.195 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.2187, allocations: 0 / 1.195 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.2187, allocations: 7.875 kB / 1.195 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.2188, allocations: 23.78 kB / 1.195 GB, free: 5.168 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.2192, allocations: 152.1 kB / 1.195 GB, free: 5.023 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.2193, allocations: 163.7 kB / 1.195 GB, free: 4.863 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2194, allocations: 29.3 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.2195, allocations: 71.81 kB / 1.196 GB, free: 4.762 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.2196, allocations: 71.73 kB / 1.196 GB, free: 4.691 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2196, allocations: 12 kB / 1.196 GB, free: 4.68 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.2197, allocations: 31.94 kB / 1.196 GB, free: 4.648 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.2197, allocations: 31.89 kB / 1.196 GB, free: 4.617 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.2198, allocations: 59.72 kB / 1.196 GB, free: 4.559 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.22, allocations: 163.4 kB / 1.196 GB, free: 4.398 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.22, allocations: 4 kB / 1.196 GB, free: 4.395 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.22, allocations: 7.938 kB / 1.196 GB, free: 4.387 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.22, allocations: 0 / 1.196 GB, free: 4.387 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.0005253/0.2205, allocations: 418 kB / 1.196 GB, free: 3.93 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2205, allocations: 12.03 kB / 1.196 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.2206, allocations: 12.89 kB / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.2209, allocations: 190.3 kB / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.2209, allocations: 12.38 kB / 1.196 GB, free: 3.684 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.221, allocations: 16.38 kB / 1.197 GB, free: 3.668 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.2211, allocations: 84.03 kB / 1.197 GB, free: 3.582 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2211, allocations: 3.938 kB / 1.197 GB, free: 3.578 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2211, allocations: 8 kB / 1.197 GB, free: 3.57 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2211, allocations: 7.984 kB / 1.197 GB, free: 3.562 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.2212, allocations: 47.95 kB / 1.197 GB, free: 3.516 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.2217, allocations: 367.5 kB / 1.197 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.2218, allocations: 34.56 kB / 1.197 GB, free: 3.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.2218, allocations: 28.91 kB / 1.197 GB, free: 3.039 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2218, allocations: 0 / 1.197 GB, free: 3.039 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.222, allocations: 99.34 kB / 1.197 GB, free: 2.93 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.222, allocations: 0 / 1.197 GB, free: 2.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0002564/0.2223, allocations: 137.5 kB / 1.197 GB, free: 2.789 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2223, allocations: 55.34 kB / 1.197 GB, free: 2.723 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.2224, allocations: 147.5 kB / 1.197 GB, free: 2.57 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.2224, allocations: 33.7 kB / 1.198 GB, free: 2.531 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.2225, allocations: 115.9 kB / 1.198 GB, free: 2.414 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.2225, allocations: 27.8 kB / 1.198 GB, free: 2.387 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.2225, allocations: 49.69 kB / 1.198 GB, free: 2.332 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.2226, allocations: 318.8 kB / 1.198 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.2227, allocations: 55.89 kB / 1.198 GB, free: 1.957 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2228, allocations: 131.1 kB / 1.198 GB, free: 1.789 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.2233, allocations: 200.6 kB / 1.198 GB, free: 1.547 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2233, allocations: 0 / 1.198 GB, free: 1.547 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002818/0.2236, allocations: 243.3 kB / 1.199 GB, free: 1.297 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.2236, allocations: 37.69 kB / 1.199 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2236, allocations: 4 kB / 1.199 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2236, allocations: 4 kB / 1.199 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.2237, allocations: 27.86 kB / 1.199 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2237, allocations: 7.938 kB / 1.199 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2238, allocations: 47.84 kB / 1.199 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2238, allocations: 12.09 kB / 1.199 GB, free: 1.152 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 7.512e-05/0.2239, allocations: 129.7 kB / 1.199 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.2239, allocations: 11.95 kB / 1.199 GB, free: 1.004 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.2239, allocations: 12.7 kB / 1.199 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2239, allocations: 4 kB / 1.199 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2239, allocations: 3.938 kB / 1.199 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2239, allocations: 0 / 1.199 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.2243, allocations: 373.5 kB / 1.199 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2243, allocations: 0 / 1.199 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.2243, allocations: 11.94 kB / 1.199 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2243, allocations: 16.39 kB / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.2244, allocations: 0 / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2244, allocations: 0 / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2244, allocations: 0 / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.2246, allocations: 239.3 kB / 1.2 GB, free: 300 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.2246, allocations: 27.88 kB / 1.2 GB, free: 272 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.2246, allocations: 0 / 1.2 GB, free: 272 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.2247, allocations: 4 kB / 1.2 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.2247, allocations: 15.97 kB / 1.2 GB, free: 252 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.2247, allocations: 4 kB / 1.2 GB, free: 248 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.2247, allocations: 108.8 kB / 1.2 GB, free: 140 kB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2247, allocations: 0 / 1.2 GB, free: 140 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001871/0.2249, allocations: 28 kB / 1.2 GB, free: 112 kB / 0.823 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.000139/0.2251, allocations: 107.2 kB / 1.2 GB, free: 16 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.2253, allocations: 167.8 kB / 1.2 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2253, allocations: 8.062 kB / 1.2 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.436e-05/0.2254, allocations: 31.97 kB / 1.2 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2256, allocations: 21.7 kB / 1.2 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.226, allocations: 290.5 kB / 1.2 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2262, allocations: 0.7086 MB / 1.201 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.2262, allocations: 19.42 kB / 1.201 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of SimCode: time 5.31e-07/0.2262, allocations: 0 / 1.201 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of Templates: time 0.002818/0.229, allocations: 1.732 MB / 1.203 GB, free: 12.97 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: 6.8204917181283236] Failed to read output from testmodel.py, exit status != 0: 0.23464722093194723 0.24283934100000001 0.021258706000000002 Calling exit ...