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.001254/0.001254, allocations: 78.02 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.001459/0.001459, allocations: 170 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.416/1.416, allocations: 177.2 MB / 202.8 MB, free: 9.188 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.166/1.166, allocations: 154.7 MB / 413.9 MB, free: 5.168 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 2.986e-06/2.986e-06, allocations: 0 / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.949e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001569/0.001598, allocations: 0.5705 MB / 0.6193 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.118e-05/0.00164, allocations: 8 kB / 0.6194 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.001658, allocations: 4 kB / 0.6194 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.00168, allocations: 0 / 0.6194 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.001707, allocations: 0 / 0.6194 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.746e-05/0.001734, allocations: 0 / 0.6194 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.001784, allocations: 3.938 kB / 0.6194 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.001832, allocations: 4 kB / 0.6194 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.001875, allocations: 3.938 kB / 0.6194 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.001898, allocations: 0 / 0.6194 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.00191, allocations: 0 / 0.6194 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-06/0.001914, allocations: 0 / 0.6194 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.001925, allocations: 0 / 0.6194 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.001942, allocations: 4 kB / 0.6194 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.493e-05/0.001996, allocations: 7.984 kB / 0.6194 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001998, allocations: 0 / 0.6194 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.01e-07/0.001999, allocations: 0 / 0.6194 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.002003, allocations: 0 / 0.6194 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.0002839/0.002287, allocations: 238.4 kB / 0.6196 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.002324, allocations: 8.031 kB / 0.6196 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.002348, allocations: 4.938 kB / 0.6196 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.002443, allocations: 101.8 kB / 0.6197 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.002456, allocations: 4.375 kB / 0.6197 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.002471, allocations: 384 / 0.6197 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.524e-05/0.002556, allocations: 34.25 kB / 0.6198 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.002564, allocations: 192 / 0.6198 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.002571, allocations: 384 / 0.6198 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.002574, allocations: 12.25 kB / 0.6198 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.002593, allocations: 7.938 kB / 0.6198 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.00271, allocations: 97.28 kB / 0.6199 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.002756, allocations: 18.61 kB / 0.6199 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.002776, allocations: 4.859 kB / 0.6199 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.002788, allocations: 4.062 kB / 0.6199 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.002812, allocations: 34.56 kB / 0.6199 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.002813, allocations: 0 / 0.6199 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001235/0.002937, allocations: 41.62 kB / 0.62 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.002974, allocations: 51.41 kB / 0.62 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.003025, allocations: 89.86 kB / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.003039, allocations: 25.7 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.003075, allocations: 92.06 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.003102, allocations: 0 / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.003129, allocations: 9.719 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.003273, allocations: 322.8 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.003281, allocations: 128 / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.998e-06/0.003285, allocations: 4 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.00331, allocations: 12.8 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003311, allocations: 0 / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.281e-05/0.003374, allocations: 33.69 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.003388, allocations: 4 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.003395, allocations: 4 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.003413, allocations: 0 / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.003464, allocations: 0 / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.003468, allocations: 0 / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.091e-05/0.003479, allocations: 8.031 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.003483, allocations: 0 / 0.6206 GB, free: 2.52 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.533e-05/0.003558, allocations: 114.8 kB / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-06/0.003563, allocations: 0 / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/0.003579, allocations: 6.984 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.00358, allocations: 0 / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.003583, allocations: 0 / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.003585, allocations: 0 / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.003656, allocations: 101.3 kB / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.003657, allocations: 0 / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.003666, allocations: 0 / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.003667, allocations: 4 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.003674, allocations: 4 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.003675, allocations: 3.938 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003675, allocations: 0 / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.137e-05/0.003747, allocations: 65.06 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.003756, allocations: 7.938 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.003766, allocations: 3.984 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.003772, allocations: 0 / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.003788, allocations: 0 / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.003789, allocations: 0 / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.003822, allocations: 79.31 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.003822, allocations: 7.938 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001776/0.004, allocations: 0 / 0.621 GB, free: 2.074 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.0001022/0.004102, allocations: 99.17 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.737e-05/0.004169, allocations: 7.938 kB / 0.6211 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.004171, allocations: 0 / 0.6211 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.004178, allocations: 4 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.004325, allocations: 6.188 kB / 0.6211 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.004603, allocations: 81 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.004654, allocations: 59.34 kB / 0.6212 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.023e-05/0.004664, allocations: 0 / 0.6212 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.004681, allocations: 8.5 kB / 0.6212 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.004682, allocations: 0 / 0.6212 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of Templates: time 0.00225/0.006932, allocations: 179.8 kB / 0.6214 GB, free: 1.586 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.532364832237363] Failed to read output from testmodel.py, exit status != 0: 0.015159767121076584 0.029395856 0.024348409 Calling exit ...