Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.0007665/0.0007665, allocations: 114.4 kB / 19.7 MB, free: 0.5234 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.0008013/0.0008013, allocations: 219.6 kB / 23.01 MB, free: 3.102 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.8653/0.8653, allocations: 230.6 MB / 256.8 MB, free: 3.445 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.0355/0.0355, allocations: 12.18 MB / 325.4 MB, free: 3.41 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.0004325/0.0004325, allocations: 35.53 kB / 384.9 MB, free: 45.8 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.585/1.585, allocations: 353.8 MB / 0.7794 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.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [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.001858/0.001858, allocations: 123.6 kB / 1.061 GB, free: 9.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2369, allocations: 134.9 MB / 1.193 GB, free: 2.562 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001485/0.2384, allocations: 0.5686 MB / 1.194 GB, free: 1.996 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 4.692e-05/0.2384, allocations: 7.938 kB / 1.194 GB, free: 1.988 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.2384, allocations: 0 / 1.194 GB, free: 1.988 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.2385, allocations: 0 / 1.194 GB, free: 1.988 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.211e-05/0.2385, allocations: 0 / 1.194 GB, free: 1.988 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.21e-05/0.2385, allocations: 4 kB / 1.194 GB, free: 1.984 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.2386, allocations: 0 / 1.194 GB, free: 1.984 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.642e-05/0.2386, allocations: 7.922 kB / 1.194 GB, free: 1.977 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.2387, allocations: 0 / 1.194 GB, free: 1.977 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.205e-05/0.2387, allocations: 7.938 kB / 1.194 GB, free: 1.969 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2387, allocations: 0 / 1.194 GB, free: 1.969 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.2387, allocations: 0 / 1.194 GB, free: 1.969 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.2387, allocations: 4 kB / 1.194 GB, free: 1.965 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.2387, allocations: 4 kB / 1.194 GB, free: 1.961 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.634e-05/0.2388, allocations: 3.984 kB / 1.194 GB, free: 1.957 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2388, allocations: 4 kB / 1.194 GB, free: 1.953 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2388, allocations: 0 / 1.194 GB, free: 1.953 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2388, allocations: 0 / 1.194 GB, free: 1.953 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002385/0.2391, allocations: 230.5 kB / 1.194 GB, free: 1.695 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2391, allocations: 15.98 kB / 1.194 GB, free: 1.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.2391, allocations: 0.9375 kB / 1.194 GB, free: 1.68 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.027e-05/0.2392, allocations: 110.5 kB / 1.194 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2392, allocations: 384 / 1.194 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2392, allocations: 4.312 kB / 1.194 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.2393, allocations: 30.27 kB / 1.194 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2393, allocations: 192 / 1.194 GB, free: 1.508 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2393, allocations: 3.938 kB / 1.194 GB, free: 1.504 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2393, allocations: 0 / 1.194 GB, free: 1.504 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.2393, allocations: 4 kB / 1.194 GB, free: 1.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.2395, allocations: 116.8 kB / 1.194 GB, free: 1.344 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.429e-05/0.2395, allocations: 18.58 kB / 1.194 GB, free: 1.316 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.2395, allocations: 16.89 kB / 1.194 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.2395, allocations: 3.984 kB / 1.194 GB, free: 1.293 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.2395, allocations: 34.5 kB / 1.194 GB, free: 1.25 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2395, allocations: 0 / 1.194 GB, free: 1.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001163/0.2397, allocations: 33.64 kB / 1.194 GB, free: 1.211 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2397, allocations: 55.53 kB / 1.194 GB, free: 1.145 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.519e-05/0.2397, allocations: 93.86 kB / 1.194 GB, free: 1.043 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.2397, allocations: 25.7 kB / 1.194 GB, free: 1.012 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.713e-05/0.2397, allocations: 80.14 kB / 1.194 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.2398, allocations: 3.938 kB / 1.194 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.2398, allocations: 13.72 kB / 1.194 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.2399, allocations: 311.2 kB / 1.195 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.2399, allocations: 11.92 kB / 1.195 GB, free: 0.582 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.2399, allocations: 6.375 kB / 1.195 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.2399, allocations: 8.859 kB / 1.195 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2399, allocations: 0 / 1.195 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.231e-05/0.2399, allocations: 33.7 kB / 1.195 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.24, allocations: 4 kB / 1.195 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.24, allocations: 3.938 kB / 1.195 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.24, allocations: 7.938 kB / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.24, allocations: 0 / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.24, allocations: 0 / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-06/0.24, allocations: 4.094 kB / 1.195 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.24, allocations: 0 / 1.195 GB, free: 0.5078 MB / 0.823 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 (1): * Single equations (assignments): 1 * 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 4.894e-05/0.2401, allocations: 117.8 kB / 1.195 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-06/0.2401, allocations: 0 / 1.195 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.2401, allocations: 6.938 kB / 1.195 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2401, allocations: 0 / 1.195 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2401, allocations: 4 kB / 1.195 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2401, allocations: 0 / 1.195 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.298e-05/0.2402, allocations: 116.8 kB / 1.195 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.2402, allocations: 4 kB / 1.195 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-06/0.2402, allocations: 3.984 kB / 1.195 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.2402, allocations: 0 / 1.195 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2402, allocations: 3.938 kB / 1.195 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-07/0.2402, allocations: 0 / 1.195 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2402, allocations: 4 kB / 1.195 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.569e-05/0.2402, allocations: 53.14 kB / 1.195 GB, free: 136 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-06/0.2402, allocations: 3.938 kB / 1.195 GB, free: 132 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2402, allocations: 11.95 kB / 1.195 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.369e-06/0.2403, allocations: 4 kB / 1.195 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.2403, allocations: 3.984 kB / 1.195 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.2403, allocations: 7.938 kB / 1.195 GB, free: 104 kB / 0.823 GB Notification: Performance of sorting global known variables: time 1.918e-05/0.2403, allocations: 75.28 kB / 1.195 GB, free: 28 kB / 0.823 GB Notification: Performance of sort global known variables: time 4e-08/0.2403, allocations: 0 / 1.195 GB, free: 28 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001149/0.2404, allocations: 0 / 1.195 GB, free: 28 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001039/0.2405, allocations: 99.25 kB / 1.195 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 6.586e-05/0.2406, allocations: 4 kB / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2406, allocations: 4 kB / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.2406, allocations: 0 / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/0.2407, allocations: 0 / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.2409, allocations: 123.2 kB / 1.195 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.2412, allocations: 0.669 MB / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.2412, allocations: 11.38 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of SimCode: time 6.11e-07/0.2412, allocations: 4.125 kB / 1.196 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of Templates: time 0.001264/0.2425, allocations: 329.8 kB / 1.196 GB, free: 14.72 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.563325957395136] Failed to read output from testmodel.py, exit status != 0: 0.24926057364791632 0.256439028 0.015917645 Calling exit ...