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.001306/0.001306, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001127/0.001127, allocations: 173 kB / 23.36 MB, free: 1.129 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8465/0.8465, allocations: 154.6 MB / 414.8 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. " [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.434e-06/2.434e-06, allocations: 0 / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.485e-05, allocations: 6.438 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00153/0.001554, allocations: 0.6219 MB / 480.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.989e-05/0.001614, allocations: 10.91 kB / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.001643, allocations: 0 / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.001674, allocations: 0 / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.001717, allocations: 0.5469 kB / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.49e-05/0.001762, allocations: 0 / 480.7 MB, free: 6.207 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.001833, allocations: 8.75 kB / 480.7 MB, free: 6.199 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.001889, allocations: 4 kB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.00193, allocations: 0.7656 kB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.001965, allocations: 0.7812 kB / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.001983, allocations: 0 / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-06/0.001989, allocations: 0 / 480.7 MB, free: 6.195 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.002007, allocations: 5.828 kB / 480.7 MB, free: 6.191 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.002024, allocations: 0 / 480.7 MB, free: 6.191 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.443e-05/0.002098, allocations: 1.844 kB / 480.7 MB, free: 6.191 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.002103, allocations: 4.547 kB / 480.7 MB, free: 6.188 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.002105, allocations: 0 / 480.7 MB, free: 6.188 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.00211, allocations: 0 / 480.7 MB, free: 6.188 MB / 442.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.0002627/0.002373, allocations: 211.9 kB / 481 MB, free: 5.957 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.002415, allocations: 12.84 kB / 481 MB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.002443, allocations: 5.484 kB / 481 MB, free: 5.941 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.002553, allocations: 106.7 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.002566, allocations: 8.312 kB / 481.1 MB, free: 5.805 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.002573, allocations: 5.312 kB / 481.1 MB, free: 5.805 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.952e-05/0.002643, allocations: 30.25 kB / 481.1 MB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.002652, allocations: 1.359 kB / 481.1 MB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-06/0.002659, allocations: 384 / 481.1 MB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.002666, allocations: 1.688 kB / 481.1 MB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.109e-05/0.002677, allocations: 7.938 kB / 481.1 MB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.002929, allocations: 282.9 kB / 481.4 MB, free: 5.469 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.00302, allocations: 175.1 kB / 481.6 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.003055, allocations: 84.17 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.00308, allocations: 75.28 kB / 481.7 MB, free: 5.129 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.003132, allocations: 105.8 kB / 481.8 MB, free: 5.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.003133, allocations: 1.062 kB / 481.8 MB, free: 5.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 7.085e-05/0.003204, allocations: 33.62 kB / 481.9 MB, free: 4.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.003265, allocations: 136 kB / 482 MB, free: 4.832 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.003346, allocations: 95.62 kB / 482.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.003358, allocations: 25.7 kB / 482.1 MB, free: 4.695 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.003398, allocations: 80.14 kB / 482.2 MB, free: 4.613 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-07/0.003398, allocations: 4.594 kB / 482.2 MB, free: 4.609 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.003419, allocations: 15.14 kB / 482.2 MB, free: 4.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9e-05/0.003509, allocations: 310.8 kB / 482.5 MB, free: 4.277 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-06/0.003513, allocations: 0.9844 kB / 482.5 MB, free: 4.277 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-06/0.003516, allocations: 0 / 482.5 MB, free: 4.277 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.003539, allocations: 80.06 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.003559, allocations: 75.28 kB / 482.7 MB, free: 4.125 MB / 442.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.036e-05/0.00361, allocations: 35.12 kB / 482.7 MB, free: 4.086 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.003657, allocations: 87.22 kB / 482.8 MB, free: 4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.003687, allocations: 75.28 kB / 482.9 MB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.089e-05/0.003748, allocations: 150.6 kB / 483 MB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.171e-05/0.003779, allocations: 88.12 kB / 483.1 MB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.116e-05/0.003831, allocations: 155.2 kB / 483.2 MB, free: 3.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.13e-05/0.003902, allocations: 80 kB / 483.3 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.003929, allocations: 79.28 kB / 483.4 MB, free: 3.383 MB / 442.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 (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.0001155/0.004044, allocations: 265.3 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.004102, allocations: 101 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.004157, allocations: 117.1 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.173e-05/0.004219, allocations: 177.1 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.155e-05/0.004281, allocations: 184.1 kB / 484.2 MB, free: 2.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.089e-05/0.004342, allocations: 184.8 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.004538, allocations: 310.1 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.004578, allocations: 109.5 kB / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.004618, allocations: 101.6 kB / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/0.004679, allocations: 188.2 kB / 485.1 MB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.004746, allocations: 184.8 kB / 485.3 MB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.154e-05/0.004808, allocations: 177.7 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.143e-05/0.004869, allocations: 180.2 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.004997, allocations: 316.3 kB / 485.9 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.00504, allocations: 101 kB / 486 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.005105, allocations: 181 kB / 486.2 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.005175, allocations: 108.9 kB / 486.3 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.005234, allocations: 180.8 kB / 486.5 MB, free: 128 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.005272, allocations: 114.9 kB / 486.6 MB, free: 8 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.526e-05/0.005307, allocations: 5.062 kB / 486.6 MB, free: 16 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005308, allocations: 1.094 kB / 486.6 MB, free: 16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.005539, allocations: 3.938 kB / 486.6 MB, free: 15.99 MB / 458.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 (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.0001354/0.005674, allocations: 152.6 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 3.761e-05/0.005712, allocations: 4.672 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.005715, allocations: 1.406 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.005717, allocations: 0 / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.006009, allocations: 463.6 kB / 487.2 MB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.006252, allocations: 157.8 kB / 487.4 MB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.006295, allocations: 55.36 kB / 487.4 MB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.555e-06/0.006298, allocations: 1.625 kB / 487.4 MB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.006333, allocations: 49.28 kB / 487.5 MB, free: 15.07 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.006334, allocations: 0 / 487.5 MB, free: 15.07 MB / 458.7 MB Notification: Performance of Templates: time 0.001419/0.007753, allocations: 163.3 kB / 487.6 MB, free: 14.91 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5551018961705267]