Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.000986/0.000986, allocations: 92.22 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.0009555/0.0009555, allocations: 169 kB / 23.02 MB, free: 1.551 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.067/1.067, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8435/0.8435, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.579e-05, allocations: 4.828 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0009592/0.000975, allocations: 0.5336 MB / 0.5208 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 2.325e-05/0.0009983, allocations: 0 / 0.5208 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.425e-05/0.001013, allocations: 4.969 kB / 0.5208 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.001026, allocations: 0.7656 kB / 0.5208 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.539e-05/0.001041, allocations: 0 / 0.5208 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.462e-05/0.001056, allocations: 1.469 kB / 0.5209 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 2.699e-05/0.001083, allocations: 4.641 kB / 0.5209 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.123e-05/0.001104, allocations: 4.125 kB / 0.5209 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/0.001117, allocations: 4.875 kB / 0.5209 GB, free: 1.676 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-06/0.001127, allocations: 4.562 kB / 0.5209 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.001134, allocations: 0.6562 kB / 0.5209 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.003e-06/0.001136, allocations: 0 / 0.5209 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-06/0.001143, allocations: 1.281 kB / 0.5209 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.864e-06/0.001151, allocations: 0 / 0.5209 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 2.785e-05/0.001178, allocations: 9.156 kB / 0.5209 GB, free: 1.664 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.001181, allocations: 3.984 kB / 0.5209 GB, free: 1.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.001181, allocations: 0 / 0.5209 GB, free: 1.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.756e-06/0.001184, allocations: 0.625 kB / 0.5209 GB, free: 1.66 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.0002066/0.00139, allocations: 336.4 kB / 0.5212 GB, free: 1.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.001431, allocations: 9.844 kB / 0.5212 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.001461, allocations: 0.9375 kB / 0.5212 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.001549, allocations: 112.6 kB / 0.5213 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.00156, allocations: 384 / 0.5213 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.001571, allocations: 2 kB / 0.5213 GB, free: 1.148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.457e-05/0.001636, allocations: 30.25 kB / 0.5214 GB, free: 1.113 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.001644, allocations: 4.188 kB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.001652, allocations: 384 / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.001659, allocations: 1.719 kB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.098e-05/0.00167, allocations: 7.875 kB / 0.5214 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.001898, allocations: 474.2 kB / 0.5218 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.368e-05/0.001981, allocations: 265.5 kB / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.002015, allocations: 127.4 kB / 0.5222 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.002044, allocations: 123.9 kB / 0.5223 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.002098, allocations: 156.5 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.002098, allocations: 1.469 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.078e-05/0.002149, allocations: 33.64 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.002195, allocations: 170.6 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.005e-05/0.002265, allocations: 155.3 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.002273, allocations: 25.7 kB / 0.5228 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.00231, allocations: 130.9 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.002312, allocations: 3.531 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.002329, allocations: 15.38 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.002435, allocations: 496.1 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.002439, allocations: 0 / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.002444, allocations: 7.938 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.002471, allocations: 119.2 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/0.002495, allocations: 119.2 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.304e-05/0.002528, allocations: 29.98 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.002566, allocations: 128.4 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.002593, allocations: 127.1 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.685e-05/0.00266, allocations: 242.9 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.66e-05/0.002687, allocations: 123.9 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.134e-05/0.002738, allocations: 250.3 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.002784, allocations: 120.2 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.002809, allocations: 123.2 kB / 0.5248 GB, free: 13.47 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 (0): * Single equations (assignments): 0 * 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.0001051/0.002914, allocations: 400.4 kB / 0.5252 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.002956, allocations: 144.9 kB / 0.5253 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.003006, allocations: 155.8 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.927e-05/0.003066, allocations: 272 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/0.003122, allocations: 265.8 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.579e-05/0.003178, allocations: 272 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.003328, allocations: 491.9 kB / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.003362, allocations: 160.9 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.003395, allocations: 151.1 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.514e-05/0.00345, allocations: 264.1 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.003511, allocations: 272 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.293e-05/0.003574, allocations: 268 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.213e-05/0.003636, allocations: 268.1 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.003756, allocations: 451.9 kB / 0.5284 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.003791, allocations: 151.6 kB / 0.5286 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.003854, allocations: 264.1 kB / 0.5288 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.003912, allocations: 160.8 kB / 0.529 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.003976, allocations: 268 kB / 0.5292 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.004011, allocations: 149.2 kB / 0.5294 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.004042, allocations: 123.2 kB / 0.5295 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004042, allocations: 0 / 0.5295 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001507/0.004193, allocations: 1.406 kB / 0.5295 GB, free: 8.441 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 (0): * Single equations (assignments): 0 * 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.495e-05/0.004278, allocations: 210.4 kB / 0.5297 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.722e-05/0.004315, allocations: 8.875 kB / 0.5297 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.004317, allocations: 0 / 0.5297 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.004317, allocations: 0.9375 kB / 0.5297 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.004611, allocations: 0.7121 MB / 0.5304 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.004793, allocations: 209.2 kB / 0.5306 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.282e-05/0.004826, allocations: 55.3 kB / 0.5307 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.733e-06/0.004828, allocations: 0.9375 kB / 0.5307 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-06/0.004838, allocations: 8.5 kB / 0.5307 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.004838, allocations: 6.625 kB / 0.5307 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of Templates: time 0.001308/0.006146, allocations: 169.6 kB / 0.5308 GB, free: 7.023 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8792618410661817]