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.002301/0.002301, allocations: 85.48 kB / 19.44 MB, free: 344 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.002815/0.002815, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.285 MB / 186.7 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-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 1.362/1.362, allocations: 154.6 MB / 414.2 MB, free: 0.5664 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 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.565e-06/2.565e-06, allocations: 0 / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.059e-05/4.315e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001977/0.00202, allocations: 0.5627 MB / 0.5202 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.686e-05/0.002067, allocations: 4.547 kB / 0.5202 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.002084, allocations: 1.344 kB / 0.5202 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.002107, allocations: 0 / 0.5202 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.19e-05/0.002139, allocations: 0 / 0.5202 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.284e-05/0.002172, allocations: 224 / 0.5202 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.002229, allocations: 5.406 kB / 0.5202 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.002273, allocations: 4.188 kB / 0.5202 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.002311, allocations: 0 / 0.5202 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.422e-05/0.002336, allocations: 3.984 kB / 0.5202 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.002348, allocations: 2.531 kB / 0.5202 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-06/0.002352, allocations: 0 / 0.5202 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.002364, allocations: 0 / 0.5202 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.00238, allocations: 0 / 0.5202 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.102e-05/0.002441, allocations: 8 kB / 0.5203 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.002447, allocations: 3.984 kB / 0.5203 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.002447, allocations: 0 / 0.5203 GB, free: 1.891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.002451, allocations: 0.5625 kB / 0.5203 GB, free: 1.891 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.0003792/0.00283, allocations: 336.4 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.002873, allocations: 12.53 kB / 0.5206 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.002909, allocations: 1.875 kB / 0.5206 GB, free: 1.512 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.003024, allocations: 108.6 kB / 0.5207 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.003038, allocations: 384 / 0.5207 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.003046, allocations: 1.906 kB / 0.5207 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.00314, allocations: 34.25 kB / 0.5207 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.003148, allocations: 192 / 0.5207 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.003158, allocations: 9.297 kB / 0.5207 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.003161, allocations: 384 / 0.5207 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.00318, allocations: 3.938 kB / 0.5207 GB, free: 1.328 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.003325, allocations: 106 kB / 0.5208 GB, free: 1.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.003393, allocations: 31.03 kB / 0.5209 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.003422, allocations: 11.75 kB / 0.5209 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.003433, allocations: 1.156 kB / 0.5209 GB, free: 1.133 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.003472, allocations: 41.33 kB / 0.5209 GB, free: 1.082 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.003473, allocations: 0 / 0.5209 GB, free: 1.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.003611, allocations: 34.38 kB / 0.521 GB, free: 1.043 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.003658, allocations: 60.62 kB / 0.521 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.003743, allocations: 142.2 kB / 0.5211 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.003762, allocations: 25.7 kB / 0.5212 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.003826, allocations: 127.9 kB / 0.5213 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.003865, allocations: 0 / 0.5213 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.003905, allocations: 23.38 kB / 0.5213 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.004162, allocations: 496.6 kB / 0.5218 GB, free: 136 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.00417, allocations: 0 / 0.5218 GB, free: 136 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-06/0.004174, allocations: 3.25 kB / 0.5218 GB, free: 136 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.004202, allocations: 11.69 kB / 0.5218 GB, free: 120 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004204, allocations: 0 / 0.5218 GB, free: 120 kB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.207e-05/0.004266, allocations: 49.62 kB / 0.5219 GB, free: 64 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.004279, allocations: 6.5 kB / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.004282, allocations: 0 / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.004295, allocations: 0 / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.479e-05/0.00434, allocations: 2.938 kB / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.004346, allocations: 4 kB / 0.5219 GB, free: 56 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.00436, allocations: 3.938 kB / 0.5219 GB, free: 52 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.004363, allocations: 0 / 0.5219 GB, free: 52 kB / 490.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 0.0001183/0.004481, allocations: 152.6 kB / 0.522 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-06/0.004487, allocations: 0 / 0.522 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.323e-05/0.0045, allocations: 7 kB / 0.522 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.004501, allocations: 1.5 kB / 0.522 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.004506, allocations: 3.984 kB / 0.522 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004509, allocations: 0 / 0.522 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.004607, allocations: 108.6 kB / 0.5221 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.004607, allocations: 0.5 kB / 0.5221 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.004619, allocations: 5.031 kB / 0.5221 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.00462, allocations: 0 / 0.5221 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.004625, allocations: 0 / 0.5221 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.004625, allocations: 1.125 kB / 0.5221 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004626, allocations: 0 / 0.5221 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.004722, allocations: 80.31 kB / 0.5222 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.004726, allocations: 4.562 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.004734, allocations: 0.5 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-06/0.004743, allocations: 4 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.004757, allocations: 2.281 kB / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.004759, allocations: 0 / 0.5222 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.188e-05/0.004821, allocations: 119.2 kB / 0.5223 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.004821, allocations: 0 / 0.5223 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000183/0.005004, allocations: 0 / 0.5223 GB, free: 15.51 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 0.0001216/0.005125, allocations: 101.6 kB / 0.5224 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.005205, allocations: 19.67 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005207, allocations: 0 / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/0.005223, allocations: 11.62 kB / 0.5225 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.005363, allocations: 5.969 kB / 0.5225 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.005614, allocations: 91.94 kB / 0.5226 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.466e-05/0.005678, allocations: 55.34 kB / 0.5226 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.198e-06/0.005687, allocations: 0 / 0.5226 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.005709, allocations: 12.5 kB / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.00571, allocations: 1.031 kB / 0.5226 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.002358/0.008067, allocations: 183.6 kB / 0.5228 GB, free: 14.98 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: 6.003364337957464]