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.0008873/0.0008873, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.0009442/0.0009442, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7803/0.7803, allocations: 154.6 MB / 414.5 MB, free: 0.6562 MB / 378.7 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 179] 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.284e-06/2.284e-06, allocations: 1.312 kB / 0.5204 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.103e-05, allocations: 3.625 kB / 0.5204 GB, free: 2.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001313/0.001344, allocations: 0.5705 MB / 0.5209 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.868e-05/0.001393, allocations: 5.203 kB / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.001408, allocations: 4 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.001438, allocations: 0 / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.545e-05/0.001463, allocations: 1.828 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.159e-05/0.001495, allocations: 0 / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.334e-05/0.001548, allocations: 1.812 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.001593, allocations: 4.125 kB / 0.5209 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.001628, allocations: 8 kB / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.946e-05/0.001648, allocations: 0.7656 kB / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.001661, allocations: 0 / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-06/0.001665, allocations: 1.594 kB / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.001676, allocations: 0 / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.001693, allocations: 0.7656 kB / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.73e-05/0.00175, allocations: 0 / 0.5209 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.001753, allocations: 5.281 kB / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001754, allocations: 0 / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.001758, allocations: 0 / 0.521 GB, free: 1.582 MB / 490.7 MB 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.0002396/0.001998, allocations: 344.4 kB / 0.5213 GB, free: 1.207 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.002037, allocations: 8.656 kB / 0.5213 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.002067, allocations: 1.688 kB / 0.5213 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.816e-05/0.002125, allocations: 104.6 kB / 0.5214 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.002137, allocations: 9.812 kB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.002148, allocations: 384 / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.128e-05/0.00223, allocations: 26.27 kB / 0.5214 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.002239, allocations: 192 / 0.5214 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.002248, allocations: 1.469 kB / 0.5214 GB, free: 1.031 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.002258, allocations: 4.359 kB / 0.5214 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.002274, allocations: 11.88 kB / 0.5214 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.002374, allocations: 108.3 kB / 0.5215 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.22e-05/0.002416, allocations: 27.09 kB / 0.5216 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.002441, allocations: 7.688 kB / 0.5216 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.002447, allocations: 0 / 0.5216 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.002472, allocations: 41.45 kB / 0.5216 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.002472, allocations: 0 / 0.5216 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.002586, allocations: 33.64 kB / 0.5217 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.002616, allocations: 55.39 kB / 0.5217 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.733e-05/0.002654, allocations: 142.8 kB / 0.5218 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.002663, allocations: 26.27 kB / 0.5219 GB, free: 500 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.002692, allocations: 126.9 kB / 0.522 GB, free: 368 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.00272, allocations: 4.969 kB / 0.522 GB, free: 364 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.002742, allocations: 15.38 kB / 0.522 GB, free: 340 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.002866, allocations: 0.4898 MB / 0.5225 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.002876, allocations: 4 kB / 0.5225 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.002881, allocations: 0 / 0.5225 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.002908, allocations: 8.312 kB / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00291, allocations: 0 / 0.5225 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.896e-05/0.002949, allocations: 43.59 kB / 0.5225 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.002961, allocations: 4 kB / 0.5225 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.002967, allocations: 4 kB / 0.5225 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.002981, allocations: 0 / 0.5225 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.003038, allocations: 6.75 kB / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.003043, allocations: 0 / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-06/0.003051, allocations: 4.281 kB / 0.5226 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.003055, allocations: 3.938 kB / 0.5226 GB, free: 15.75 MB / 0.4948 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 5.489e-05/0.00311, allocations: 156.6 kB / 0.5227 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-06/0.003115, allocations: 4 kB / 0.5227 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.003134, allocations: 6.594 kB / 0.5227 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003135, allocations: 1.688 kB / 0.5227 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.003138, allocations: 0 / 0.5227 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.003141, allocations: 3.984 kB / 0.5227 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.311e-05/0.003194, allocations: 116.5 kB / 0.5228 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.003197, allocations: 4 kB / 0.5228 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.003205, allocations: 0.9375 kB / 0.5228 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.003206, allocations: 0 / 0.5228 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.003211, allocations: 0.875 kB / 0.5228 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003212, allocations: 3.938 kB / 0.5228 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.003214, allocations: 3.984 kB / 0.5228 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.504e-05/0.003269, allocations: 77.03 kB / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-06/0.003272, allocations: 0.6562 kB / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.003281, allocations: 6.906 kB / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-06/0.003285, allocations: 0 / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.003296, allocations: 0 / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-07/0.003297, allocations: 0 / 0.5229 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.003324, allocations: 119.2 kB / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.003324, allocations: 0 / 0.523 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000111/0.003435, allocations: 0 / 0.523 GB, free: 15.2 MB / 0.4948 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 7.476e-05/0.00351, allocations: 102.3 kB / 0.5231 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.003578, allocations: 19.61 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.003579, allocations: 0 / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.003585, allocations: 7.688 kB / 0.5232 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.694e-05/0.003682, allocations: 4 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.003906, allocations: 91.88 kB / 0.5233 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.944e-05/0.003935, allocations: 57.17 kB / 0.5233 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.035e-05/0.003946, allocations: 0 / 0.5233 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.004215, allocations: 8.5 kB / 0.5233 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.004216, allocations: 0 / 0.5233 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of Templates: time 0.001618/0.005834, allocations: 193.6 kB / 0.5235 GB, free: 14.67 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.815306158270687]