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.001394/0.001394, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001739/0.001739, allocations: 221.7 kB / 22.26 MB, free: 5.211 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 8.012 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.06393/0.06393, allocations: 12.19 MB / 324.6 MB, free: 7.266 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.0008102/0.0008102, allocations: 32.23 kB / 384.1 MB, free: 46.63 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.664/2.664, allocations: 353.8 MB / 0.7787 GB, free: 1.102 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.003883/0.003883, allocations: 131.6 kB / 1.061 GB, free: 12.98 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2649, allocations: 134.9 MB / 1.192 GB, free: 6.16 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002012/0.2669, allocations: 0.8777 MB / 1.193 GB, free: 5.281 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2685, allocations: 1.227 MB / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.2685, allocations: 0 / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.2686, allocations: 7.875 kB / 1.194 GB, free: 4.035 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.2687, allocations: 19.8 kB / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.2692, allocations: 150.8 kB / 1.195 GB, free: 3.871 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.2694, allocations: 163.7 kB / 1.195 GB, free: 3.711 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2695, allocations: 29.28 kB / 1.195 GB, free: 3.68 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.2696, allocations: 67.83 kB / 1.195 GB, free: 3.613 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2697, allocations: 71.73 kB / 1.195 GB, free: 3.543 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.2698, allocations: 16 kB / 1.195 GB, free: 3.527 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.281e-05/0.2699, allocations: 31.92 kB / 1.195 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.2699, allocations: 27.91 kB / 1.195 GB, free: 3.469 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.167e-05/0.27, allocations: 67.7 kB / 1.195 GB, free: 3.402 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.2702, allocations: 167.3 kB / 1.195 GB, free: 3.238 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2702, allocations: 0 / 1.195 GB, free: 3.238 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2702, allocations: 0 / 1.195 GB, free: 3.238 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.2702, allocations: 0 / 1.195 GB, free: 3.238 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.0006989/0.2709, allocations: 426 kB / 1.196 GB, free: 2.773 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2709, allocations: 11.98 kB / 1.196 GB, free: 2.762 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.271, allocations: 12.89 kB / 1.196 GB, free: 2.75 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.2715, allocations: 198.3 kB / 1.196 GB, free: 2.531 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2715, allocations: 8.375 kB / 1.196 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.2716, allocations: 12.38 kB / 1.196 GB, free: 2.512 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.2718, allocations: 90.2 kB / 1.196 GB, free: 2.418 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2718, allocations: 3.938 kB / 1.196 GB, free: 2.414 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2718, allocations: 4 kB / 1.196 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2718, allocations: 4 kB / 1.196 GB, free: 2.406 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.272, allocations: 46.77 kB / 1.196 GB, free: 2.363 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.2727, allocations: 367.5 kB / 1.196 GB, free: 1.961 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2728, allocations: 34.56 kB / 1.196 GB, free: 1.918 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.2729, allocations: 32.91 kB / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.273, allocations: 0 / 1.196 GB, free: 1.883 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.2732, allocations: 99.34 kB / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2732, allocations: 0 / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of matching and sorting (n=10): time 0.000419/0.2736, allocations: 133.5 kB / 1.197 GB, free: 1.637 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2737, allocations: 59.34 kB / 1.197 GB, free: 1.566 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2738, allocations: 143.7 kB / 1.197 GB, free: 1.418 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.2738, allocations: 33.7 kB / 1.197 GB, free: 1.379 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.2739, allocations: 112.1 kB / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2739, allocations: 23.81 kB / 1.197 GB, free: 1.242 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.274, allocations: 49.69 kB / 1.197 GB, free: 1.188 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2741, allocations: 322.8 kB / 1.197 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2743, allocations: 47.97 kB / 1.197 GB, free: 0.8164 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.2745, allocations: 135 kB / 1.197 GB, free: 0.6445 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.2749, allocations: 208.6 kB / 1.198 GB, free: 404 kB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2749, allocations: 4 kB / 1.198 GB, free: 400 kB / 0.8263 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000494/0.2754, allocations: 239.3 kB / 1.198 GB, free: 148 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.2754, allocations: 40.19 kB / 1.198 GB, free: 104 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2754, allocations: 4.375 kB / 1.198 GB, free: 100 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2754, allocations: 4 kB / 1.198 GB, free: 96 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2755, allocations: 27.92 kB / 1.198 GB, free: 68 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2756, allocations: 7.938 kB / 1.198 GB, free: 60 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.2758, allocations: 47.78 kB / 1.198 GB, free: 12 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.2758, allocations: 12 kB / 1.198 GB, free: 0 / 0.8263 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.0001218/0.2759, allocations: 135.2 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.2759, allocations: 7.953 kB / 1.198 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.9e-05/0.276, allocations: 16.7 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.276, allocations: 3.938 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.276, allocations: 3.938 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.276, allocations: 0 / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.2766, allocations: 369.5 kB / 1.199 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2766, allocations: 4 kB / 1.199 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.2767, allocations: 15.94 kB / 1.199 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.2767, allocations: 3.938 kB / 1.199 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2767, allocations: 3.984 kB / 1.199 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2767, allocations: 4 kB / 1.199 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2767, allocations: 4 kB / 1.199 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.2772, allocations: 239.3 kB / 1.199 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.2772, allocations: 23.88 kB / 1.199 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2772, allocations: 4 kB / 1.199 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.2773, allocations: 4 kB / 1.199 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.2773, allocations: 15.97 kB / 1.199 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2773, allocations: 0 / 1.199 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.666e-05/0.2774, allocations: 105.7 kB / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/0.2774, allocations: 4 kB / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000305/0.2777, allocations: 31.94 kB / 1.199 GB, free: 14.95 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.0001726/0.2779, allocations: 106.5 kB / 1.199 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.2783, allocations: 168 kB / 1.199 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2783, allocations: 128 / 1.199 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.2784, allocations: 43.84 kB / 1.199 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2787, allocations: 27.97 kB / 1.199 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.2793, allocations: 256.8 kB / 1.2 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2797, allocations: 0.7084 MB / 1.2 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.332e-05/0.2797, allocations: 12.64 kB / 1.2 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.2798, allocations: 19.44 kB / 1.2 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.2798, allocations: 0 / 1.2 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.005399/0.2852, allocations: 1.692 MB / 1.202 GB, free: 11.89 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.562147881835699] Failed to read output from testmodel.py, exit status != 0: 0.2938755415380001 0.3088379 0.035521696000000005 Calling exit ...