Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.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.001304/0.001304, allocations: 96.38 kB / 19.7 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.001651/0.001651, allocations: 211.2 kB / 23 MB, free: 2.977 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 1.037/1.037, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.03705/0.03705, allocations: 12.2 MB / 325.4 MB, free: 6.141 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.0005249/0.0005249, allocations: 31.89 kB / 384.8 MB, free: 10.57 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.862/1.862, allocations: 353.9 MB / 0.7795 GB, free: 4.586 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change") [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.001507/0.001507, allocations: 120.8 kB / 1.061 GB, free: 24.44 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2639, allocations: 134.9 MB / 1.193 GB, free: 7.027 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Change): time 0.003173/0.267, allocations: 1.903 MB / 1.195 GB, free: 5.113 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2688, allocations: 1.213 MB / 1.196 GB, free: 3.898 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.269, allocations: 11.94 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.2694, allocations: 95.56 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.2698, allocations: 139.4 kB / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.2702, allocations: 127.6 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.2705, allocations: 231.3 kB / 1.197 GB, free: 3.305 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2707, allocations: 29.78 kB / 1.197 GB, free: 3.273 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.2708, allocations: 103.6 kB / 1.197 GB, free: 3.172 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.271, allocations: 107.6 kB / 1.197 GB, free: 3.066 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.271, allocations: 16 kB / 1.197 GB, free: 3.051 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.2711, allocations: 51.98 kB / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.2712, allocations: 67.75 kB / 1.197 GB, free: 2.934 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.2713, allocations: 75.53 kB / 1.197 GB, free: 2.859 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.2716, allocations: 290.7 kB / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2717, allocations: 0 / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2717, allocations: 0 / 1.197 GB, free: 2.574 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.2717, allocations: 0 / 1.197 GB, free: 2.574 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008381/0.2725, allocations: 481 kB / 1.198 GB, free: 2.074 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2725, allocations: 12.03 kB / 1.198 GB, free: 2.062 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.2726, allocations: 24.8 kB / 1.198 GB, free: 2.039 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.273, allocations: 241 kB / 1.198 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.273, allocations: 7.938 kB / 1.198 GB, free: 1.773 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.273, allocations: 15.98 kB / 1.198 GB, free: 1.758 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.2732, allocations: 118.4 kB / 1.198 GB, free: 1.637 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2732, allocations: 0 / 1.198 GB, free: 1.637 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.2733, allocations: 7.938 kB / 1.198 GB, free: 1.629 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2733, allocations: 4 kB / 1.198 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.2734, allocations: 83.92 kB / 1.198 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.274, allocations: 372.1 kB / 1.199 GB, free: 1.148 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.2742, allocations: 126.6 kB / 1.199 GB, free: 1.016 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.913e-05/0.2743, allocations: 52.81 kB / 1.199 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2744, allocations: 4 kB / 1.199 GB, free: 0.957 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.2746, allocations: 127.3 kB / 1.199 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.2746, allocations: 0 / 1.199 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0004468/0.275, allocations: 267.4 kB / 1.199 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.2751, allocations: 51.41 kB / 1.199 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.2753, allocations: 337.8 kB / 1.199 GB, free: 156 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2754, allocations: 37.7 kB / 1.199 GB, free: 112 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2755, allocations: 136.5 kB / 1.2 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.2755, allocations: 39.69 kB / 1.2 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.2756, allocations: 61.69 kB / 1.2 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2757, allocations: 334.8 kB / 1.2 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2758, allocations: 87.95 kB / 1.2 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.276, allocations: 129.1 kB / 1.2 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.2762, allocations: 198.5 kB / 1.2 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2762, allocations: 15.88 kB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003469/0.2766, allocations: 286.8 kB / 1.201 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2766, allocations: 7.938 kB / 1.201 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2766, allocations: 4 kB / 1.201 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2766, allocations: 4 kB / 1.201 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2767, allocations: 39.97 kB / 1.201 GB, free: 14.73 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2767, allocations: 7.938 kB / 1.201 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.2768, allocations: 23.92 kB / 1.201 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2768, allocations: 11.98 kB / 1.201 GB, free: 14.68 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001237/0.277, allocations: 165.8 kB / 1.201 GB, free: 14.51 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.277, allocations: 23.8 kB / 1.201 GB, free: 14.49 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.2773, allocations: 217.4 kB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2773, allocations: 4 kB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2773, allocations: 0 / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2773, allocations: 0 / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005217/0.2779, allocations: 0.4941 MB / 1.202 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2779, allocations: 0 / 1.202 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.2779, allocations: 11.98 kB / 1.202 GB, free: 13.73 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2779, allocations: 4 kB / 1.202 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2779, allocations: 4 kB / 1.202 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2779, allocations: 0 / 1.202 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2779, allocations: 3.938 kB / 1.202 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.2782, allocations: 309.2 kB / 1.202 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2783, allocations: 39.75 kB / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.2783, allocations: 4 kB / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.2784, allocations: 15.97 kB / 1.202 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.2784, allocations: 15.98 kB / 1.202 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.2784, allocations: 11.98 kB / 1.202 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001454/0.2786, allocations: 205.2 kB / 1.202 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2786, allocations: 0 / 1.202 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002545/0.2788, allocations: 55.92 kB / 1.202 GB, free: 13.06 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008751/0.2797, allocations: 459.2 kB / 1.203 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.28, allocations: 179.8 kB / 1.203 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.28, allocations: 0 / 1.203 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.2802, allocations: 67.89 kB / 1.203 GB, free: 12.55 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2805, allocations: 53.08 kB / 1.203 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.2811, allocations: 455.8 kB / 1.204 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.2812, allocations: 137.2 kB / 1.204 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.2813, allocations: 27.44 kB / 1.204 GB, free: 11.85 MB / 0.8387 GB Notification: Performance of SimCode: time 9.42e-07/0.2813, allocations: 0 / 1.204 GB, free: 11.85 MB / 0.8387 GB Notification: Performance of Templates: time 0.004769/0.2861, allocations: 3.456 MB / 1.207 GB, free: 8.402 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.280389817431569] Failed to read output from testmodel.py, exit status != 0: 0.29322221130132675 0.30202248400000004 0.028417874000000003 Calling exit ...