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/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.0009926/0.0009926, allocations: 117.6 kB / 19.7 MB, free: 0.5273 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.0008742/0.0008742, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.8666/0.8666, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.03673/0.03673, allocations: 12.2 MB / 325.4 MB, free: 3.531 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.0004103/0.0004103, allocations: 35.92 kB / 384.9 MB, free: 45.74 MB / 298.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.576/1.576, allocations: 353.8 MB / 0.7795 GB, free: 13.06 MB / 0.5262 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.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: 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.00222/0.00222, allocations: 118.5 kB / 1.061 GB, free: 9.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2352, allocations: 134.9 MB / 1.193 GB, free: 2.586 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Line): time 0.001939/0.2371, allocations: 0.8838 MB / 1.194 GB, free: 1.703 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.2379, allocations: 0.9212 MB / 1.195 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.238, allocations: 7.938 kB / 1.195 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.238, allocations: 11.86 kB / 1.195 GB, free: 0.75 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.861e-05/0.2381, allocations: 11.81 kB / 1.195 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.2383, allocations: 59.92 kB / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.2384, allocations: 143.7 kB / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2386, allocations: 45.66 kB / 1.195 GB, free: 500 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.2386, allocations: 51.78 kB / 1.195 GB, free: 448 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.2387, allocations: 67.67 kB / 1.195 GB, free: 380 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2387, allocations: 16 kB / 1.195 GB, free: 364 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.2387, allocations: 12 kB / 1.195 GB, free: 352 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.2387, allocations: 39.84 kB / 1.195 GB, free: 312 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.2388, allocations: 59.61 kB / 1.195 GB, free: 252 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.2389, allocations: 139.4 kB / 1.195 GB, free: 112 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2389, allocations: 4 kB / 1.195 GB, free: 108 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2389, allocations: 0 / 1.195 GB, free: 108 kB / 0.823 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.2389, allocations: 0 / 1.195 GB, free: 108 kB / 0.823 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.0004546/0.2394, allocations: 369.8 kB / 1.196 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2394, allocations: 15.98 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2395, allocations: 12.84 kB / 1.196 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.2396, allocations: 154.3 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.2396, allocations: 12.38 kB / 1.196 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2397, allocations: 16.31 kB / 1.196 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2399, allocations: 146.7 kB / 1.196 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2399, allocations: 192 / 1.196 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2399, allocations: 15.94 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2399, allocations: 4 kB / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.2401, allocations: 123.9 kB / 1.196 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.2406, allocations: 463.3 kB / 1.197 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2407, allocations: 90.41 kB / 1.197 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.528e-05/0.2408, allocations: 40.83 kB / 1.197 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2408, allocations: 0 / 1.197 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2408, allocations: 46.55 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=10): time 5.91e-07/0.2408, allocations: 4 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of matching and sorting (n=10): time 0.0002873/0.2411, allocations: 157.7 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.2411, allocations: 51.41 kB / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2413, allocations: 191.6 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.2413, allocations: 29.7 kB / 1.197 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.2413, allocations: 116 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2413, allocations: 35.7 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.2414, allocations: 29.7 kB / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.2414, allocations: 326.8 kB / 1.198 GB, free: 13.52 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.864e-05/0.2415, allocations: 44.34 kB / 1.198 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.2416, allocations: 35.97 kB / 1.198 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.2417, allocations: 99.5 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2417, allocations: 4 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001721/0.2419, allocations: 149.4 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2419, allocations: 6.812 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2419, allocations: 4 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2419, allocations: 0 / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.577e-05/0.242, allocations: 35.91 kB / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.242, allocations: 0 / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.242, allocations: 19.84 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2421, allocations: 4 kB / 1.198 GB, free: 13.12 MB / 0.8387 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.39e-05/0.2421, allocations: 129.8 kB / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.2421, allocations: 19.83 kB / 1.198 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.2423, allocations: 135 kB / 1.198 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2423, allocations: 4 kB / 1.198 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2423, allocations: 0 / 1.198 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2423, allocations: 0 / 1.198 GB, free: 12.82 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.2427, allocations: 427.9 kB / 1.199 GB, free: 12.34 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2427, allocations: 4 kB / 1.199 GB, free: 12.34 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.2427, allocations: 19.98 kB / 1.199 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2427, allocations: 0 / 1.199 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2427, allocations: 4 kB / 1.199 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2427, allocations: 4.094 kB / 1.199 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2427, allocations: 0 / 1.199 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.2429, allocations: 249.9 kB / 1.199 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.2429, allocations: 23.83 kB / 1.199 GB, free: 12.02 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.243, allocations: 4 kB / 1.199 GB, free: 12.02 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.243, allocations: 15.98 kB / 1.199 GB, free: 12 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.2431, allocations: 11.86 kB / 1.199 GB, free: 11.99 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.2431, allocations: 12 kB / 1.199 GB, free: 11.98 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 7.205e-05/0.2431, allocations: 144.1 kB / 1.199 GB, free: 11.84 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2431, allocations: 0 / 1.199 GB, free: 11.84 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001571/0.2433, allocations: 24 kB / 1.199 GB, free: 11.81 MB / 0.8387 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 8.375e-05/0.2434, allocations: 95.44 kB / 1.199 GB, free: 11.71 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.2436, allocations: 99.81 kB / 1.2 GB, free: 11.61 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2436, allocations: 0 / 1.2 GB, free: 11.61 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.2436, allocations: 39.92 kB / 1.2 GB, free: 11.57 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.2438, allocations: 24.17 kB / 1.2 GB, free: 11.55 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.2442, allocations: 283.1 kB / 1.2 GB, free: 11.23 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.2445, allocations: 0.7162 MB / 1.201 GB, free: 10.49 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.2445, allocations: 15.44 kB / 1.201 GB, free: 10.48 MB / 0.8387 GB Notification: Performance of SimCode: time 5.91e-07/0.2445, allocations: 0 / 1.201 GB, free: 10.48 MB / 0.8387 GB Notification: Performance of Templates: time 0.002/0.2465, allocations: 1.569 MB / 1.202 GB, free: 8.91 MB / 0.8387 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.803445284254849] Failed to read output from testmodel.py, exit status != 0: 0.253553444519639 0.26028223399999995 0.019589478 Calling exit ...