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.0008853/0.0008853, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009261/0.0009261, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.89/0.89, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7316/0.7316, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.214e-06/2.214e-06, allocations: 1.203 kB / 0.5208 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.79e-05, allocations: 2.312 kB / 0.5208 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00206/0.002088, allocations: 0.5749 MB / 0.5214 GB, free: 164 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.381e-05/0.002142, allocations: 9.328 kB / 0.5214 GB, free: 156 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.002164, allocations: 0 / 0.5214 GB, free: 156 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.002192, allocations: 0.5469 kB / 0.5214 GB, free: 156 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.177e-05/0.002224, allocations: 0 / 0.5214 GB, free: 156 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.527e-05/0.002259, allocations: 0.7812 kB / 0.5214 GB, free: 156 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.002311, allocations: 0.5469 kB / 0.5214 GB, free: 156 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.002357, allocations: 9.531 kB / 0.5214 GB, free: 148 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.002396, allocations: 1.312 kB / 0.5214 GB, free: 148 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.463e-05/0.002421, allocations: 0 / 0.5214 GB, free: 148 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.002433, allocations: 2.562 kB / 0.5214 GB, free: 148 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.002437, allocations: 0 / 0.5214 GB, free: 148 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.00245, allocations: 0 / 0.5214 GB, free: 148 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.002468, allocations: 0 / 0.5214 GB, free: 148 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.048e-05/0.002529, allocations: 4.766 kB / 0.5214 GB, free: 144 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.002533, allocations: 3.984 kB / 0.5214 GB, free: 140 kB / 442.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002534, allocations: 0 / 0.5214 GB, free: 140 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.002538, allocations: 0 / 0.5214 GB, free: 140 kB / 442.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.0002779/0.002816, allocations: 336.9 kB / 0.5217 GB, free: 15.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.002858, allocations: 13.38 kB / 0.5217 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.002882, allocations: 0.9375 kB / 0.5217 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.897e-05/0.002951, allocations: 109.9 kB / 0.5218 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.002963, allocations: 384 / 0.5218 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.002968, allocations: 1.344 kB / 0.5218 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.068e-05/0.003039, allocations: 34.25 kB / 0.5219 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003046, allocations: 1.156 kB / 0.5219 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.003052, allocations: 4.375 kB / 0.5219 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.003057, allocations: 1.375 kB / 0.5219 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.25e-05/0.00307, allocations: 3.938 kB / 0.5219 GB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.003171, allocations: 93.25 kB / 0.522 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.244e-05/0.003214, allocations: 32 kB / 0.522 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.003235, allocations: 8.375 kB / 0.522 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-06/0.003243, allocations: 4.062 kB / 0.522 GB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.003271, allocations: 38.73 kB / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.003272, allocations: 0 / 0.5221 GB, free: 15.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000108/0.00338, allocations: 34.91 kB / 0.5221 GB, free: 15.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.003413, allocations: 59.34 kB / 0.5221 GB, free: 15.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.053e-05/0.003463, allocations: 142.9 kB / 0.5223 GB, free: 15.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.003475, allocations: 25.7 kB / 0.5223 GB, free: 15.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.003515, allocations: 132.7 kB / 0.5224 GB, free: 14.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.003545, allocations: 0.875 kB / 0.5224 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.00358, allocations: 15.38 kB / 0.5225 GB, free: 14.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.003737, allocations: 496.1 kB / 0.5229 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-06/0.003744, allocations: 4 kB / 0.5229 GB, free: 14.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.003749, allocations: 1.625 kB / 0.5229 GB, free: 14.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.003778, allocations: 11.69 kB / 0.5229 GB, free: 14.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.003781, allocations: 4 kB / 0.5229 GB, free: 14.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.463e-05/0.003846, allocations: 39 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.003861, allocations: 4.656 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.003866, allocations: 0 / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.003877, allocations: 0.5312 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.003927, allocations: 4.75 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.00393, allocations: 0 / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.003943, allocations: 1.469 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.003947, allocations: 0.7656 kB / 0.523 GB, free: 14.34 MB / 458.7 MB 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 8.011e-05/0.004027, allocations: 160.5 kB / 0.5231 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.004035, allocations: 4 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.004054, allocations: 4.344 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.004056, allocations: 0 / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.004058, allocations: 0 / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.004061, allocations: 1.688 kB / 0.5232 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.004136, allocations: 101.1 kB / 0.5233 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.004138, allocations: 4 kB / 0.5233 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.004151, allocations: 0 / 0.5233 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.004153, allocations: 0 / 0.5233 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.004157, allocations: 2.281 kB / 0.5233 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.00416, allocations: 3.984 kB / 0.5233 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.004161, allocations: 0 / 0.5233 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.998e-05/0.004241, allocations: 76.31 kB / 0.5233 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.004248, allocations: 4.328 kB / 0.5233 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.004257, allocations: 6.75 kB / 0.5233 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.004265, allocations: 0 / 0.5233 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-06/0.004274, allocations: 0 / 0.5233 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.004276, allocations: 0 / 0.5233 GB, free: 13.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.004312, allocations: 119.2 kB / 0.5235 GB, free: 13.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004312, allocations: 0 / 0.5235 GB, free: 13.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.004532, allocations: 4 kB / 0.5235 GB, free: 13.8 MB / 458.7 MB 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.0001053/0.004637, allocations: 96.62 kB / 0.5236 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.913e-05/0.004696, allocations: 11.69 kB / 0.5236 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004697, allocations: 0.9375 kB / 0.5236 GB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.004711, allocations: 15.61 kB / 0.5236 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.004858, allocations: 10.58 kB / 0.5236 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.005079, allocations: 84.03 kB / 0.5237 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.005114, allocations: 57.36 kB / 0.5237 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.228e-05/0.005127, allocations: 0 / 0.5237 GB, free: 13.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.005165, allocations: 66.2 kB / 0.5238 GB, free: 13.4 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.005166, allocations: 0 / 0.5238 GB, free: 13.4 MB / 458.7 MB Notification: Performance of Templates: time 0.001878/0.007044, allocations: 203 kB / 0.524 GB, free: 13.21 MB / 458.7 MB " [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.2102543199434876]