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.001341/0.001341, allocations: 80.67 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001531/0.001531, allocations: 167.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.233/1.233, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 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 178] 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.653e-06/1.653e-06, allocations: 0 / 0.6187 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.771e-05, allocations: 2.812 kB / 0.6188 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001537/0.001565, allocations: 0.5389 MB / 0.6193 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.864e-05/0.001604, allocations: 4 kB / 0.6193 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.001634, allocations: 0 / 0.6193 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.001657, allocations: 0 / 0.6193 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.001685, allocations: 0 / 0.6193 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-05/0.001721, allocations: 4 kB / 0.6193 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.00178, allocations: 11.94 kB / 0.6193 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.001836, allocations: 3.938 kB / 0.6193 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.001867, allocations: 0 / 0.6193 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.001888, allocations: 4 kB / 0.6193 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.001901, allocations: 0 / 0.6193 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-06/0.001905, allocations: 0 / 0.6193 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.001917, allocations: 4 kB / 0.6193 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.001933, allocations: 0 / 0.6193 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.772e-05/0.00199, allocations: 7.969 kB / 0.6193 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.001992, allocations: 0 / 0.6193 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.414e-06/0.001995, allocations: 4 kB / 0.6193 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.002, allocations: 0 / 0.6193 GB, free: 3.98 MB / 0.5294 GB 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.0003043/0.002304, allocations: 242.4 kB / 0.6196 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.002344, allocations: 8.031 kB / 0.6196 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.002372, allocations: 0.9375 kB / 0.6196 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.002474, allocations: 101.8 kB / 0.6197 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.002488, allocations: 8.375 kB / 0.6197 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.002497, allocations: 8.359 kB / 0.6197 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/0.002574, allocations: 26.27 kB / 0.6197 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.002582, allocations: 192 / 0.6197 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.002591, allocations: 384 / 0.6197 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.002595, allocations: 4.375 kB / 0.6197 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.002612, allocations: 7.875 kB / 0.6197 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.002958, allocations: 327.2 kB / 0.62 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.003067, allocations: 169.1 kB / 0.6202 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.003114, allocations: 88.16 kB / 0.6203 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.003151, allocations: 75.28 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.946e-05/0.00322, allocations: 117.8 kB / 0.6205 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.003221, allocations: 0 / 0.6205 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.764e-05/0.003299, allocations: 29.64 kB / 0.6205 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.003374, allocations: 130.7 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.003458, allocations: 89.86 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.003471, allocations: 25.7 kB / 0.6207 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.003518, allocations: 80.14 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.003519, allocations: 0 / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.003543, allocations: 13.72 kB / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.003691, allocations: 322.8 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.003696, allocations: 4.125 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-06/0.003698, allocations: 0 / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.003735, allocations: 79.28 kB / 0.6212 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/0.00377, allocations: 79.22 kB / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.711e-05/0.003827, allocations: 25.7 kB / 0.6213 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.003872, allocations: 83.28 kB / 0.6214 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/0.003907, allocations: 79.22 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-05/0.003985, allocations: 154.5 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.16e-05/0.004017, allocations: 75.28 kB / 0.6217 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-05/0.004088, allocations: 162.5 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.004162, allocations: 79.28 kB / 0.6219 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.004194, allocations: 79.28 kB / 0.622 GB, free: 1.078 MB / 0.5294 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.0001402/0.004334, allocations: 261.4 kB / 0.6222 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.0044, allocations: 113.1 kB / 0.6223 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.004467, allocations: 111.9 kB / 0.6224 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.38e-05/0.004551, allocations: 188.2 kB / 0.6226 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001364/0.004687, allocations: 180.3 kB / 0.6228 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.764e-05/0.004775, allocations: 180.3 kB / 0.623 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.005015, allocations: 348.8 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-05/0.005066, allocations: 109 kB / 0.6234 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.005113, allocations: 104.9 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-05/0.005189, allocations: 188.2 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/0.005271, allocations: 180.3 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.121e-05/0.005352, allocations: 184.1 kB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.866e-05/0.005421, allocations: 176.3 kB / 0.6242 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.005588, allocations: 307.8 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.005639, allocations: 105 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.005728, allocations: 184.2 kB / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.005818, allocations: 116.9 kB / 0.6249 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/0.005904, allocations: 180.2 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.005956, allocations: 101 kB / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.005999, allocations: 83.28 kB / 0.6252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.005999, allocations: 0 / 0.6252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002672/0.006267, allocations: 0 / 0.6252 GB, free: 13.57 MB / 0.545 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.0001349/0.006401, allocations: 172.8 kB / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.378e-05/0.006465, allocations: 7.938 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.006467, allocations: 0 / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.00647, allocations: 3.984 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.006871, allocations: 451.7 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.007125, allocations: 168.2 kB / 0.626 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.741e-05/0.007183, allocations: 59.3 kB / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.402e-06/0.007184, allocations: 0 / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.081e-05/0.007195, allocations: 8.5 kB / 0.6261 GB, free: 12.65 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.007195, allocations: 0 / 0.6261 GB, free: 12.65 MB / 0.545 GB Notification: Performance of Templates: time 0.002047/0.009242, allocations: 148.7 kB / 0.6262 GB, free: 12.51 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.922871492803097] Failed to read output from testmodel.py, exit status != 0: 0.018987739458680153 0.035815818 0.03041608 Calling exit ...