Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0008696/0.0008696, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009911/0.0009911, allocations: 173 kB / 23.03 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 0.8985/0.8985, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7585/0.7585, 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.782e-05, allocations: 3.578 kB / 0.5204 GB, free: 2.168 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001261/0.001289, allocations: 0.574 MB / 0.5209 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.518e-05/0.001334, allocations: 7.938 kB / 0.5209 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.001358, allocations: 0 / 0.5209 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.001386, allocations: 3.984 kB / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.698e-05/0.001413, allocations: 1.656 kB / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.006e-05/0.001443, allocations: 0 / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.001499, allocations: 0.7656 kB / 0.5209 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.001542, allocations: 4.188 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.001569, allocations: 0.9844 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.037e-05/0.00159, allocations: 0.75 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.001607, allocations: 0 / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.456e-06/0.001611, allocations: 1.406 kB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.001625, allocations: 7.938 kB / 0.5209 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.001642, allocations: 0 / 0.5209 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.609e-05/0.001698, allocations: 7.984 kB / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.0017, allocations: 1.344 kB / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.001701, allocations: 0 / 0.521 GB, free: 1.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.001705, 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.0002472/0.001952, allocations: 341.5 kB / 0.5213 GB, free: 1.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.001991, allocations: 8.031 kB / 0.5213 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.002022, allocations: 0.9375 kB / 0.5213 GB, free: 1.203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.002107, allocations: 119.3 kB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.002118, allocations: 384 / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.002126, allocations: 384 / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.793e-05/0.002194, allocations: 30.27 kB / 0.5214 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.0022, allocations: 192 / 0.5214 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.002208, allocations: 384 / 0.5214 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.002215, allocations: 384 / 0.5214 GB, free: 1.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.135e-05/0.002227, allocations: 8.484 kB / 0.5214 GB, free: 1.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.002467, allocations: 470.2 kB / 0.5219 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.002548, allocations: 270 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.002579, allocations: 131.8 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.002619, allocations: 119.2 kB / 0.5224 GB, free: 16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.002657, allocations: 158.2 kB / 0.5225 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.002659, allocations: 0 / 0.5225 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.328e-05/0.002712, allocations: 37.56 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.002763, allocations: 170.6 kB / 0.5227 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.002833, allocations: 154.9 kB / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.002839, allocations: 29.7 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.002872, allocations: 128.3 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.002873, allocations: 0 / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.00289, allocations: 15.38 kB / 0.5231 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.002991, allocations: 496.1 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-06/0.002995, allocations: 5.156 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.002999, allocations: 0 / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.00303, allocations: 119.2 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-05/0.003054, allocations: 119.9 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.63e-05/0.003091, allocations: 37.62 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.003126, allocations: 125.6 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.003154, allocations: 123.1 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.867e-05/0.003213, allocations: 246.4 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.754e-05/0.003241, allocations: 128.6 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-05/0.003288, allocations: 242.4 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.003335, allocations: 123.1 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.003359, allocations: 123.2 kB / 0.5249 GB, free: 13.39 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.000108/0.003467, allocations: 398 kB / 0.5252 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.003509, allocations: 153.2 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.003687, allocations: 155.8 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/0.003735, allocations: 264.1 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.155e-05/0.003786, allocations: 272 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.146e-05/0.003838, allocations: 268.1 kB / 0.5263 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.003988, allocations: 495.9 kB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.004019, allocations: 152.8 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.004047, allocations: 147.7 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-05/0.004103, allocations: 272 kB / 0.5273 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.004156, allocations: 268.1 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.378e-05/0.00421, allocations: 268 kB / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.665e-05/0.004266, allocations: 276 kB / 0.5281 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.004384, allocations: 444 kB / 0.5285 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.00442, allocations: 148.8 kB / 0.5287 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.004484, allocations: 273.3 kB / 0.5289 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.004535, allocations: 148.8 kB / 0.5291 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.004595, allocations: 272.1 kB / 0.5293 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.004627, allocations: 153.7 kB / 0.5295 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.004661, allocations: 119.7 kB / 0.5296 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004661, allocations: 1.938 kB / 0.5296 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001491/0.00481, allocations: 0 / 0.5296 GB, free: 8.359 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 0.0001078/0.004918, allocations: 214.4 kB / 0.5298 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.678e-05/0.004965, allocations: 3.938 kB / 0.5298 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.004967, allocations: 2.438 kB / 0.5298 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.004968, allocations: 0 / 0.5298 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.005241, allocations: 0.7147 MB / 0.5305 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/0.005449, allocations: 208.6 kB / 0.5307 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.926e-05/0.005478, allocations: 51.36 kB / 0.5307 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.954e-06/0.00548, allocations: 0 / 0.5307 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.005491, allocations: 14.81 kB / 0.5307 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.005492, allocations: 0 / 0.5307 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of Templates: time 0.001412/0.006904, allocations: 160.4 kB / 0.5309 GB, free: 6.949 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3808702039532363]