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.0007904/0.0007904, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008184/0.0008184, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8546/0.8546, allocations: 177.1 MB / 203.5 MB, free: 5.41 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-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 0.678/0.678, allocations: 154.6 MB / 414.5 MB, free: 0.7305 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 2.084e-06/2.084e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.653e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001111/0.001137, allocations: 0.5339 MB / 0.6199 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.071e-05/0.001178, allocations: 3.938 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.001205, allocations: 0 / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.001232, allocations: 3.984 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.922e-05/0.001261, allocations: 0 / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.946e-05/0.001291, allocations: 4 kB / 0.6199 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.001347, allocations: 3.984 kB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.00139, allocations: 3.938 kB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.00142, allocations: 4 kB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.666e-05/0.001437, allocations: 4 kB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.001456, allocations: 4 kB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-06/0.001459, allocations: 3.938 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.001471, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.001486, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 4.953e-05/0.001536, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.001538, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001539, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.001542, allocations: 4 kB / 0.6199 GB, free: 12.59 MB / 0.5886 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.0002171/0.001759, allocations: 238.4 kB / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.001791, allocations: 8.031 kB / 0.6201 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.001816, allocations: 8.938 kB / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.818e-05/0.001884, allocations: 101.8 kB / 0.6202 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.001893, allocations: 8.312 kB / 0.6202 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.0019, allocations: 384 / 0.6202 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.829e-05/0.001968, allocations: 30.25 kB / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.001976, allocations: 192 / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.001983, allocations: 384 / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.001988, allocations: 4.375 kB / 0.6203 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.341e-05/0.002001, allocations: 3.938 kB / 0.6203 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.002232, allocations: 327.2 kB / 0.6206 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.326e-05/0.002295, allocations: 173.1 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.002319, allocations: 84.17 kB / 0.6208 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.002341, allocations: 75.28 kB / 0.6209 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.002371, allocations: 109.8 kB / 0.621 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.02e-07/0.002372, allocations: 0 / 0.621 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.267e-05/0.002424, allocations: 33.64 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.002469, allocations: 134.6 kB / 0.6212 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.002777, allocations: 89.86 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.002784, allocations: 25.7 kB / 0.6213 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.002812, allocations: 84.08 kB / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.002814, allocations: 4.125 kB / 0.6214 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.00283, allocations: 13.72 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.002896, allocations: 310.8 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-06/0.0029, allocations: 0 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-06/0.002903, allocations: 0 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.002922, allocations: 79.27 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.002939, allocations: 83.28 kB / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.03e-05/0.002969, allocations: 25.7 kB / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.002998, allocations: 83.28 kB / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.00302, allocations: 87.09 kB / 0.622 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/0.003061, allocations: 150.6 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.716e-05/0.003078, allocations: 83.22 kB / 0.6222 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/0.003114, allocations: 154.6 kB / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.003157, allocations: 83.27 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.003175, allocations: 79.22 kB / 0.6225 GB, free: 9.688 MB / 0.5886 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 7.778e-05/0.003252, allocations: 265.4 kB / 0.6228 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.003285, allocations: 101 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.003322, allocations: 119.9 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-05/0.003364, allocations: 176.5 kB / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-05/0.003407, allocations: 180.2 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.473e-05/0.003452, allocations: 192.2 kB / 0.6235 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.003574, allocations: 348.9 kB / 0.6239 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/0.003599, allocations: 108.9 kB / 0.624 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.003623, allocations: 105 kB / 0.6241 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.012e-05/0.003663, allocations: 180.2 kB / 0.6242 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.003713, allocations: 180.3 kB / 0.6244 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.213e-05/0.003755, allocations: 184.2 kB / 0.6246 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-05/0.003796, allocations: 180.2 kB / 0.6248 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.886e-05/0.003895, allocations: 307.7 kB / 0.6251 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.003927, allocations: 109 kB / 0.6252 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.003974, allocations: 176.3 kB / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.00431, allocations: 116.8 kB / 0.6254 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.004355, allocations: 184.3 kB / 0.6256 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.004376, allocations: 104.9 kB / 0.6257 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.004402, allocations: 83.22 kB / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004402, allocations: 0 / 0.6258 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001524/0.004554, allocations: 0 / 0.6258 GB, free: 6.172 MB / 0.5886 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.259e-05/0.004637, allocations: 166.5 kB / 0.626 GB, free: 6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.816e-05/0.004675, allocations: 4 kB / 0.626 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.004676, allocations: 4 kB / 0.626 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.004677, allocations: 4.094 kB / 0.626 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.0049, allocations: 460.4 kB / 0.6264 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.005094, allocations: 185.9 kB / 0.6266 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.633e-05/0.00513, allocations: 55.36 kB / 0.6266 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.005141, allocations: 8.5 kB / 0.6266 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.005141, allocations: 0 / 0.6266 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of Templates: time 0.001034/0.006175, allocations: 323.9 kB / 0.627 GB, free: 4.926 MB / 0.5886 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: 4.62540642824024] Failed to read output from testmodel.py, exit status != 0: 0.01129122357815504 0.019451178 0.016009227 Calling exit ...