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.001536/0.001536, 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.001526/0.001526, allocations: 210.5 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.805 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.06685/0.06685, allocations: 12.19 MB / 324.6 MB, free: 7.07 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.0008345/0.0008345, allocations: 36.06 kB / 384.1 MB, free: 47.47 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.581/2.581, allocations: 353.9 MB / 0.7787 GB, free: 1.605 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.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.003624/0.003624, allocations: 131.2 kB / 1.06 GB, free: 12.57 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3235, allocations: 134.9 MB / 1.192 GB, free: 5.785 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002263/0.3258, allocations: 0.8427 MB / 1.193 GB, free: 4.941 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3276, allocations: 1.2 MB / 1.194 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.3277, allocations: 0 / 1.194 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.3277, allocations: 15.88 kB / 1.194 GB, free: 3.715 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.3278, allocations: 15.81 kB / 1.194 GB, free: 3.699 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.3283, allocations: 154.5 kB / 1.194 GB, free: 3.551 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.3286, allocations: 163.7 kB / 1.195 GB, free: 3.391 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3287, allocations: 29.28 kB / 1.195 GB, free: 3.359 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.753e-05/0.3288, allocations: 63.83 kB / 1.195 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3289, allocations: 65.31 kB / 1.195 GB, free: 3.234 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.3289, allocations: 16 kB / 1.195 GB, free: 3.219 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 6.417e-05/0.329, allocations: 31.98 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.329, allocations: 19.92 kB / 1.195 GB, free: 3.168 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 7.8e-05/0.3291, allocations: 63.77 kB / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3293, allocations: 171.3 kB / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3293, allocations: 0 / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3293, allocations: 0 / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3293, allocations: 0 / 1.195 GB, free: 2.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006889/0.33, allocations: 422 kB / 1.195 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.33, allocations: 15.98 kB / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.3301, allocations: 12.89 kB / 1.195 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.3306, allocations: 196.6 kB / 1.196 GB, free: 2.234 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3306, allocations: 4.375 kB / 1.196 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.3307, allocations: 20.36 kB / 1.196 GB, free: 2.211 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3309, allocations: 82.22 kB / 1.196 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3309, allocations: 3.938 kB / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3309, allocations: 7.984 kB / 1.196 GB, free: 2.113 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3309, allocations: 4 kB / 1.196 GB, free: 2.109 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.3311, allocations: 47.95 kB / 1.196 GB, free: 2.062 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.3318, allocations: 312.2 kB / 1.196 GB, free: 1.727 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3319, allocations: 42.55 kB / 1.196 GB, free: 1.676 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.332, allocations: 24.97 kB / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.332, allocations: 0 / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.3323, allocations: 99.28 kB / 1.196 GB, free: 1.539 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.3323, allocations: 0 / 1.196 GB, free: 1.539 MB / 0.8263 GB Notification: Performance of matching and sorting (n=10): time 0.0004007/0.3327, allocations: 133.5 kB / 1.196 GB, free: 1.402 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3327, allocations: 55.41 kB / 1.196 GB, free: 1.336 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3328, allocations: 150.1 kB / 1.197 GB, free: 1.18 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.3329, allocations: 29.7 kB / 1.197 GB, free: 1.145 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.333, allocations: 119.9 kB / 1.197 GB, free: 1.023 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.333, allocations: 23.81 kB / 1.197 GB, free: 1 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.3331, allocations: 53.62 kB / 1.197 GB, free: 0.9414 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3332, allocations: 322.8 kB / 1.197 GB, free: 0.6172 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3334, allocations: 77.66 kB / 1.197 GB, free: 0.5352 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.3337, allocations: 164.8 kB / 1.197 GB, free: 336 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.334, allocations: 200.6 kB / 1.197 GB, free: 88 kB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.334, allocations: 0 / 1.197 GB, free: 88 kB / 0.8263 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005481/0.3346, allocations: 272.7 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.3346, allocations: 35.11 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3346, allocations: 4 kB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3346, allocations: 4.375 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3348, allocations: 35.91 kB / 1.198 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3348, allocations: 4 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.335, allocations: 47.73 kB / 1.198 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.335, allocations: 15.98 kB / 1.198 GB, free: 15.65 MB / 0.8419 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 0.0001185/0.3351, allocations: 128.2 kB / 1.198 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.3352, allocations: 15.95 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.3352, allocations: 8.766 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3352, allocations: 15.97 kB / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3352, allocations: 0 / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3352, allocations: 3.938 kB / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.3358, allocations: 330.1 kB / 1.198 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3358, allocations: 0 / 1.198 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.3359, allocations: 15.98 kB / 1.198 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3359, allocations: 0 / 1.198 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3359, allocations: 7.984 kB / 1.198 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3359, allocations: 7.875 kB / 1.198 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3359, allocations: 8 kB / 1.198 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.3363, allocations: 235.4 kB / 1.199 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.3364, allocations: 16.09 kB / 1.199 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.3364, allocations: 4.031 kB / 1.199 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.3365, allocations: 15.88 kB / 1.199 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.3365, allocations: 7.984 kB / 1.199 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3365, allocations: 7.984 kB / 1.199 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.396e-05/0.3366, allocations: 105.2 kB / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.3366, allocations: 0 / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002828/0.3369, allocations: 31.94 kB / 1.199 GB, free: 14.65 MB / 0.8419 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.0001533/0.337, allocations: 110.2 kB / 1.199 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.3374, allocations: 193.4 kB / 1.199 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3374, allocations: 8.188 kB / 1.199 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3375, allocations: 31.97 kB / 1.199 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3378, allocations: 23.97 kB / 1.199 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.3384, allocations: 264.8 kB / 1.199 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.3385, allocations: 97.61 kB / 1.2 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.3386, allocations: 8.656 kB / 1.2 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.3386, allocations: 23.42 kB / 1.2 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3386, allocations: 4 kB / 1.2 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of Templates: time 0.005168/0.3438, allocations: 1.815 MB / 1.201 GB, free: 12.06 MB / 0.8419 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.522300809621811] Failed to read output from testmodel.py, exit status != 0: 0.35259248688817024 0.36669050099999995 0.034344558000000004 Calling exit ...