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.001041/0.001041, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002337, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009958/0.0009958, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002336, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9995/0.9995, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0908/1.09, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.9106/0.9106, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3034/1.214, allocations: 49.04 MB / 447.6 MB, free: 6.707 MB / 426.7 MB " [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.194e-06/2.194e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.234e-05, allocations: 8.25 kB / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001886/0.001908, allocations: 0.6179 MB / 449.5 MB, free: 4.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.799e-05/0.001926, allocations: 0 / 449.5 MB, free: 4.816 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.00194, allocations: 1.516 kB / 449.5 MB, free: 4.816 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.001959, allocations: 4 kB / 449.5 MB, free: 4.812 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.286e-05/0.001972, allocations: 5.672 kB / 449.5 MB, free: 4.809 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.594e-05/0.001988, allocations: 4 kB / 449.5 MB, free: 4.805 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.923e-05/0.002037, allocations: 4.531 kB / 449.5 MB, free: 4.801 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.002076, allocations: 5.422 kB / 449.5 MB, free: 4.797 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.002111, allocations: 5.156 kB / 449.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.533e-05/0.002137, allocations: 0 / 449.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.002153, allocations: 0.9844 kB / 449.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-06/0.002158, allocations: 0 / 449.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.447e-06/0.002167, allocations: 0.7188 kB / 449.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.002185, allocations: 0.7656 kB / 449.6 MB, free: 4.793 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.84e-05/0.002254, allocations: 5.422 kB / 449.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.002271, allocations: 1.281 kB / 449.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.002272, allocations: 0 / 449.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.00229, allocations: 3.938 kB / 449.6 MB, free: 4.785 MB / 426.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.000253/0.002543, allocations: 208.8 kB / 449.8 MB, free: 4.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.002582, allocations: 12.78 kB / 449.8 MB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.002612, allocations: 1.594 kB / 449.8 MB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.741e-05/0.002679, allocations: 103.8 kB / 449.9 MB, free: 4.418 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.00269, allocations: 384 / 449.9 MB, free: 4.418 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-06/0.002695, allocations: 384 / 449.9 MB, free: 4.418 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.002777, allocations: 34.27 kB / 449.9 MB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.002785, allocations: 192 / 449.9 MB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.002791, allocations: 1.484 kB / 449.9 MB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.002797, allocations: 1 kB / 449.9 MB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.422e-05/0.002811, allocations: 7.922 kB / 449.9 MB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.825e-05/0.00289, allocations: 58.52 kB / 450 MB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.651e-05/0.002926, allocations: 18.52 kB / 450 MB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.002946, allocations: 9.719 kB / 450 MB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.002952, allocations: 1.219 kB / 450 MB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.002977, allocations: 30.56 kB / 450 MB, free: 4.223 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002977, allocations: 4 kB / 450.1 MB, free: 4.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.531e-05/0.003073, allocations: 30.3 kB / 450.1 MB, free: 4.184 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.003109, allocations: 56.66 kB / 450.1 MB, free: 4.117 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.369e-05/0.003153, allocations: 97.84 kB / 450.2 MB, free: 4.012 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.003163, allocations: 26.25 kB / 450.3 MB, free: 3.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.003188, allocations: 85.66 kB / 450.3 MB, free: 3.895 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.00322, allocations: 2.062 kB / 450.3 MB, free: 3.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.00325, allocations: 17.72 kB / 450.4 MB, free: 3.871 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.003344, allocations: 314.8 kB / 450.7 MB, free: 3.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-06/0.003353, allocations: 3.156 kB / 450.7 MB, free: 3.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.003358, allocations: 0 / 450.7 MB, free: 3.555 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.003383, allocations: 8.859 kB / 450.7 MB, free: 3.543 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.003385, allocations: 0 / 450.7 MB, free: 3.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.384e-05/0.003439, allocations: 35.67 kB / 450.7 MB, free: 3.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.003455, allocations: 11.98 kB / 450.7 MB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.00346, allocations: 0.875 kB / 450.7 MB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.003469, allocations: 0 / 450.7 MB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.003531, allocations: 0 / 450.7 MB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.003534, allocations: 0.9062 kB / 450.7 MB, free: 3.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.003547, allocations: 4.547 kB / 450.7 MB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.003552, allocations: 4.609 kB / 450.7 MB, free: 3.48 MB / 426.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 6.803e-05/0.00362, allocations: 110.4 kB / 450.8 MB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.003628, allocations: 4 kB / 450.8 MB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.003645, allocations: 3.625 kB / 450.9 MB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.003647, allocations: 1.281 kB / 450.9 MB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.003649, allocations: 4 kB / 450.9 MB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.003652, allocations: 0.625 kB / 450.9 MB, free: 3.348 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.465e-05/0.003706, allocations: 65.83 kB / 450.9 MB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.003708, allocations: 0.625 kB / 450.9 MB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.003718, allocations: 4.562 kB / 450.9 MB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.003723, allocations: 3.047 kB / 450.9 MB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.003725, allocations: 0.6875 kB / 450.9 MB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.003728, allocations: 0 / 450.9 MB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.003728, allocations: 1.781 kB / 450.9 MB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.00373, allocations: 0 / 450.9 MB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.003795, allocations: 72.98 kB / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-06/0.003802, allocations: 0 / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-06/0.003808, allocations: 0.75 kB / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.003818, allocations: 0 / 451 MB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.003821, allocations: 5.969 kB / 451 MB, free: 3.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.432e-06/0.003827, allocations: 4.859 kB / 451 MB, free: 3.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.003827, allocations: 0.625 kB / 451 MB, free: 3.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.003972, allocations: 0 / 451 MB, free: 3.16 MB / 426.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 8.298e-05/0.004055, allocations: 73.73 kB / 451.1 MB, free: 3.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.632e-05/0.004111, allocations: 14.06 kB / 451.1 MB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.004117, allocations: 4 kB / 451.1 MB, free: 3.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.004125, allocations: 8.797 kB / 451.1 MB, free: 3.047 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.896e-05/0.004184, allocations: 8.938 kB / 451.1 MB, free: 3.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.004545, allocations: 90.39 kB / 451.2 MB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.004585, allocations: 56.5 kB / 451.3 MB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.004605, allocations: 0 / 451.3 MB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.004642, allocations: 47.38 kB / 451.3 MB, free: 2.805 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.004643, allocations: 4.531 kB / 451.3 MB, free: 2.801 MB / 426.7 MB Notification: Performance of Templates: time 0.003975/0.008618, allocations: 206.3 kB / 451.5 MB, free: 2.609 MB / 426.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.637241587974131]