Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.conf.json 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.0424/0.0424, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.000904/0.000904, allocations: 90.72 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001247/0.001247, allocations: 164.5 kB / 38.73 MB, free: 2.508 MB / 24.77 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.01/1.01, allocations: 177.1 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006678/0.006678, allocations: 0.8144 MB / 276.5 MB, free: 0.7188 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.726/1.726, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.19e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Line): time 0.001781/0.001812, allocations: 0.8546 MB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002903, allocations: 0.9325 MB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.288e-05/0.002995, allocations: 7.938 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.003033, allocations: 11.86 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.003117, allocations: 11.81 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.003306, allocations: 71.83 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.00349, allocations: 139.7 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.003652, allocations: 42.31 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.003758, allocations: 75.86 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.00382, allocations: 43.8 kB / 0.6401 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.00385, allocations: 16 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.003867, allocations: 12 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.003896, allocations: 27.91 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.003933, allocations: 39.91 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.004061, allocations: 95.56 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.004064, allocations: 0 / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004065, allocations: 0 / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.00407, allocations: 4 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004169/0.004487, allocations: 336.5 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.004522, allocations: 15.98 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.004567, allocations: 24.91 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.004739, allocations: 153.5 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.004753, allocations: 8.375 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.004771, allocations: 20.38 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.004975, allocations: 203.9 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.004983, allocations: 192 / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.004996, allocations: 8.375 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005004, allocations: 4.375 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.005059, allocations: 39.86 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/0.005607, allocations: 295.9 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/0.005695, allocations: 50.73 kB / 0.6413 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.005721, allocations: 24.8 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.00574, allocations: 3.984 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.005763, allocations: 34.56 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.005764, allocations: 0 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001519/0.005916, allocations: 69.89 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.005947, allocations: 59.34 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.006026, allocations: 134.7 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.006039, allocations: 25.7 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.006091, allocations: 123.8 kB / 0.6418 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.006109, allocations: 35.69 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.006148, allocations: 29.7 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.006228, allocations: 322.8 kB / 0.6422 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.006252, allocations: 11.98 kB / 0.6422 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.006272, allocations: 12 kB / 0.6422 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.485e-05/0.006327, allocations: 40.81 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006329, allocations: 3.938 kB / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.768e-05/0.006417, allocations: 73.67 kB / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.006429, allocations: 4 kB / 0.6423 GB, free: 9.355 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006435, allocations: 4 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.006446, allocations: 0 / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.006543, allocations: 23.92 kB / 0.6423 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.006547, allocations: 4 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.00658, allocations: 11.89 kB / 0.6424 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.006588, allocations: 8 kB / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.495e-05/0.006653, allocations: 113.8 kB / 0.6425 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.006674, allocations: 11.98 kB / 0.6425 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.006797, allocations: 82.41 kB / 0.6426 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006799, allocations: 0 / 0.6426 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.006803, allocations: 3.938 kB / 0.6426 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.006807, allocations: 4 kB / 0.6426 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.007047, allocations: 273.2 kB / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.007049, allocations: 0 / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.007111, allocations: 23.92 kB / 0.6429 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007114, allocations: 3.938 kB / 0.6429 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.007123, allocations: 11.94 kB / 0.6429 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007125, allocations: 0 / 0.6429 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007126, allocations: 0 / 0.6429 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.007234, allocations: 178 kB / 0.643 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.007248, allocations: 11.94 kB / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.007262, allocations: 16.03 kB / 0.6431 GB, free: 8.512 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.476e-05/0.007316, allocations: 11.97 kB / 0.6431 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.007348, allocations: 11.98 kB / 0.6431 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.007354, allocations: 4 kB / 0.6431 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.007378, allocations: 21.47 kB / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.007378, allocations: 0 / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001364/0.007514, allocations: 31.89 kB / 0.6431 GB, free: 8.43 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001078/0.007622, allocations: 76.42 kB / 0.6432 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.007709, allocations: 52.77 kB / 0.6433 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.007714, allocations: 7.938 kB / 0.6433 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.007743, allocations: 24.78 kB / 0.6433 GB, free: 8.258 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.00791, allocations: 12 kB / 0.6433 GB, free: 8.246 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.00826, allocations: 252 kB / 0.6435 GB, free: 7.965 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.268e-05/0.008303, allocations: 71.28 kB / 0.6436 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.008334, allocations: 12.67 kB / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.008403, allocations: 67.38 kB / 0.6437 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of SimCode: time 6.91e-07/0.008404, allocations: 0 / 0.6437 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of Templates: time 0.002682/0.01109, allocations: 1.001 MB / 0.6447 GB, free: 6.797 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.495026535354555]