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.0009654/0.0009654, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001026/0.001026, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9306/0.9306, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7541/0.7541, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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 1.242e-06/1.242e-06, allocations: 0 / 0.5216 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.4e-05, allocations: 2.859 kB / 0.5216 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0009675/0.0009815, allocations: 0.5734 MB / 0.5221 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 3.898e-05/0.001021, allocations: 0 / 0.5221 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.001044, allocations: 2.984 kB / 0.5221 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.001065, allocations: 3.938 kB / 0.5222 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.00109, allocations: 0 / 0.5222 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.624e-05/0.001116, allocations: 0 / 0.5222 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.379e-05/0.00116, allocations: 4.766 kB / 0.5222 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.001195, allocations: 4.188 kB / 0.5222 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.00122, allocations: 2.656 kB / 0.5222 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.719e-05/0.001237, allocations: 0 / 0.5222 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.001249, allocations: 0 / 0.5222 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-06/0.001252, allocations: 0 / 0.5222 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.001265, allocations: 7.938 kB / 0.5222 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.078e-05/0.001276, allocations: 0.5625 kB / 0.5222 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.333e-05/0.001319, allocations: 4.891 kB / 0.5222 GB, free: 1.289 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.001321, allocations: 0 / 0.5222 GB, free: 1.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.61e-07/0.001321, allocations: 0 / 0.5222 GB, free: 1.289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.001325, allocations: 1.031 kB / 0.5222 GB, free: 1.289 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.0002028/0.001528, allocations: 340.4 kB / 0.5225 GB, free: 0.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.001557, allocations: 12.88 kB / 0.5225 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.001575, allocations: 0.9375 kB / 0.5225 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.001643, allocations: 105.7 kB / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.001653, allocations: 4.375 kB / 0.5226 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-06/0.001658, allocations: 384 / 0.5226 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.426e-05/0.001702, allocations: 35.67 kB / 0.5227 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-06/0.001708, allocations: 192 / 0.5227 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-06/0.001712, allocations: 384 / 0.5227 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.001717, allocations: 384 / 0.5227 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.214e-06/0.001724, allocations: 9.078 kB / 0.5227 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.001904, allocations: 454.9 kB / 0.5231 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.00199, allocations: 265.4 kB / 0.5233 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.002017, allocations: 127.6 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.002041, allocations: 120.5 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.00208, allocations: 160.6 kB / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.002081, allocations: 0 / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.194e-05/0.002123, allocations: 29.64 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.002175, allocations: 179.6 kB / 0.5239 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.002237, allocations: 157.9 kB / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.002244, allocations: 26.23 kB / 0.5241 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.002276, allocations: 127.7 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.002277, allocations: 0 / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.002292, allocations: 16.22 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.002399, allocations: 496.1 kB / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-06/0.002401, allocations: 6.438 kB / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-06/0.002404, allocations: 0 / 0.5247 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.00243, allocations: 123.2 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/0.002453, allocations: 119.2 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.27e-05/0.002486, allocations: 29.7 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.002517, allocations: 127.2 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.002542, allocations: 123.1 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.167e-05/0.002594, allocations: 249.2 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/0.002618, allocations: 127.2 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.692e-05/0.002665, allocations: 242.4 kB / 0.5258 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.00271, allocations: 123.2 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.002733, allocations: 123.1 kB / 0.5261 GB, free: 13.12 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 9.603e-05/0.002829, allocations: 391 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.002872, allocations: 153.2 kB / 0.5266 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.002913, allocations: 154.9 kB / 0.5267 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/0.002965, allocations: 272 kB / 0.527 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.489e-05/0.00302, allocations: 272.1 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-05/0.003075, allocations: 272 kB / 0.5275 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.003219, allocations: 480.5 kB / 0.528 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.003252, allocations: 152.8 kB / 0.5281 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.003286, allocations: 144.9 kB / 0.5282 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.645e-05/0.003342, allocations: 264.1 kB / 0.5285 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.0034, allocations: 277.5 kB / 0.5288 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-05/0.003455, allocations: 264.1 kB / 0.529 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.795e-05/0.003513, allocations: 272 kB / 0.5293 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.00363, allocations: 447.9 kB / 0.5297 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.003666, allocations: 153.3 kB / 0.5298 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.003721, allocations: 269 kB / 0.5301 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.003769, allocations: 148.8 kB / 0.5302 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.003826, allocations: 264.1 kB / 0.5305 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.003866, allocations: 157.9 kB / 0.5306 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.209e-05/0.003898, allocations: 123.8 kB / 0.5308 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003898, allocations: 0 / 0.5308 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001478/0.004046, allocations: 7.047 kB / 0.5308 GB, free: 8.113 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.287e-05/0.004128, allocations: 210.4 kB / 0.531 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 2.978e-05/0.004158, allocations: 4 kB / 0.531 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.004159, allocations: 3.938 kB / 0.531 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.00416, allocations: 0 / 0.531 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.004431, allocations: 0.7099 MB / 0.5317 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001475/0.004578, allocations: 211 kB / 0.5319 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.779e-05/0.004606, allocations: 59.28 kB / 0.5319 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.613e-06/0.004607, allocations: 0 / 0.5319 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.00463, allocations: 66.2 kB / 0.532 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.004631, allocations: 0 / 0.532 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of Templates: time 0.001156/0.005786, allocations: 167.2 kB / 0.5321 GB, free: 6.641 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.4665941488929093]