Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001574/0.001574, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001876/0.001876, allocations: 167.1 kB / 22.46 MB, free: 5.359 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.19/1.19, allocations: 154.6 MB / 413.8 MB, free: 5.254 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.063e-05, allocations: 6.781 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001441/0.001462, allocations: 0.5696 MB / 0.6192 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.895e-05/0.001501, allocations: 7.938 kB / 0.6192 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.001517, allocations: 0.6875 kB / 0.6192 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.001542, allocations: 3.938 kB / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.019e-05/0.001562, allocations: 4 kB / 0.6192 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.878e-05/0.001591, allocations: 0 / 0.6192 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.001647, allocations: 7.984 kB / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.001691, allocations: 0 / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.001717, allocations: 0 / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.001737, allocations: 0 / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.001748, allocations: 0 / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-06/0.001752, allocations: 4 kB / 0.6192 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.001762, allocations: 0 / 0.6192 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.001777, allocations: 0 / 0.6192 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.179e-05/0.001829, allocations: 3.984 kB / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.001831, allocations: 4 kB / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.61e-07/0.001831, allocations: 0 / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.001835, allocations: 0 / 0.6192 GB, free: 3.938 MB / 0.5294 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.0002798/0.002114, allocations: 238.4 kB / 0.6194 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.002153, allocations: 12.03 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.002179, allocations: 0.9375 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.002263, allocations: 101.8 kB / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.002274, allocations: 384 / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.00228, allocations: 384 / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.00238, allocations: 38.19 kB / 0.6196 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.002389, allocations: 4.188 kB / 0.6196 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.002395, allocations: 4.312 kB / 0.6196 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.002398, allocations: 384 / 0.6196 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.002414, allocations: 7.875 kB / 0.6196 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.002549, allocations: 105.3 kB / 0.6197 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.168e-05/0.002591, allocations: 14.58 kB / 0.6197 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.002612, allocations: 8.953 kB / 0.6197 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.002621, allocations: 7.922 kB / 0.6197 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.002648, allocations: 30.56 kB / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.002649, allocations: 0 / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.002769, allocations: 45.69 kB / 0.6198 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.00281, allocations: 51.41 kB / 0.6199 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.002856, allocations: 89.86 kB / 0.6199 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.002872, allocations: 25.7 kB / 0.62 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.002912, allocations: 80.14 kB / 0.62 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.002938, allocations: 0 / 0.62 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.002969, allocations: 13.72 kB / 0.6201 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.003115, allocations: 314.8 kB / 0.6204 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-06/0.003124, allocations: 4 kB / 0.6204 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-06/0.003132, allocations: 7.938 kB / 0.6204 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.288e-05/0.003155, allocations: 9.047 kB / 0.6204 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.003156, allocations: 0 / 0.6204 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.386e-05/0.00321, allocations: 37.69 kB / 0.6204 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.003221, allocations: 4 kB / 0.6204 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.003224, allocations: 0 / 0.6204 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.003236, allocations: 0 / 0.6204 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.55e-05/0.003282, allocations: 4 kB / 0.6204 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.003286, allocations: 0 / 0.6204 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.276e-05/0.003298, allocations: 3.938 kB / 0.6204 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.003303, allocations: 0 / 0.6204 GB, free: 2.523 MB / 0.5294 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 7.995e-05/0.003383, allocations: 114.9 kB / 0.6205 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-06/0.003388, allocations: 0 / 0.6205 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.181e-05/0.0034, allocations: 10.94 kB / 0.6205 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.003403, allocations: 3.984 kB / 0.6205 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.003406, allocations: 0 / 0.6205 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.003408, allocations: 0 / 0.6205 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.191e-05/0.00348, allocations: 97.27 kB / 0.6206 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.003481, allocations: 0 / 0.6206 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.003493, allocations: 4 kB / 0.6206 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.003494, allocations: 3.938 kB / 0.6206 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.003499, allocations: 4 kB / 0.6207 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.00351, allocations: 4 kB / 0.6207 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00351, allocations: 0 / 0.6207 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.732e-05/0.003588, allocations: 69 kB / 0.6207 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-06/0.003591, allocations: 0 / 0.6207 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.003599, allocations: 0 / 0.6207 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-06/0.003606, allocations: 0 / 0.6207 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-06/0.003614, allocations: 4 kB / 0.6207 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.003615, allocations: 0 / 0.6207 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.003648, allocations: 75.28 kB / 0.6208 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.003648, allocations: 7.969 kB / 0.6208 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001775/0.003826, allocations: 0 / 0.6208 GB, free: 2.078 MB / 0.5294 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.0001052/0.003931, allocations: 103.2 kB / 0.6209 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.003993, allocations: 4 kB / 0.6209 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.003994, allocations: 0 / 0.6209 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-06/0.003999, allocations: 0 / 0.6209 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.004123, allocations: 2.188 kB / 0.6209 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.004335, allocations: 80.88 kB / 0.621 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.778e-05/0.004393, allocations: 59.48 kB / 0.621 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.004404, allocations: 3.984 kB / 0.621 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.004421, allocations: 8.5 kB / 0.6211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.004421, allocations: 0 / 0.6211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of Templates: time 0.002074/0.006495, allocations: 179.5 kB / 0.6212 GB, free: 1.594 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6357348673045635] Failed to read output from testmodel.py, exit status != 0: 0.014071792364120483 0.028388347 0.023589676 Calling exit ...