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.0008276/0.0008276, allocations: 80.45 kB / 19.9 MB, free: 12 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.0009038/0.0009038, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9415/0.9415, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.693/0.693, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 65.92 kB / 0.6195 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.551, allocations: 102 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001413/0.5524, allocations: 0.5344 MB / 0.7196 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.793e-05/0.5525, allocations: 4.703 kB / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.5525, allocations: 1 kB / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.5525, allocations: 0 / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.959e-05/0.5526, allocations: 0 / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.003e-05/0.5526, allocations: 1.125 kB / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.5527, allocations: 5.859 kB / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/0.5527, allocations: 5.906 kB / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.5528, allocations: 5.453 kB / 0.7197 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.226e-05/0.5528, allocations: 4.734 kB / 0.7197 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.5528, allocations: 0 / 0.7197 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.94e-06/0.5528, allocations: 5.031 kB / 0.7197 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.5528, allocations: 0 / 0.7197 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.5528, allocations: 5.344 kB / 0.7197 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.363e-05/0.5529, allocations: 1.172 kB / 0.7197 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5529, allocations: 2.203 kB / 0.7197 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5529, allocations: 0 / 0.7197 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.5529, allocations: 0 / 0.7197 GB, free: 23.3 MB / 0.6355 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.0002773/0.5532, allocations: 236.6 kB / 0.7199 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.5533, allocations: 9.375 kB / 0.7199 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.5533, allocations: 1.938 kB / 0.7199 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.5534, allocations: 113.2 kB / 0.72 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.5534, allocations: 384 / 0.72 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.5534, allocations: 1.469 kB / 0.72 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.5536, allocations: 28.41 kB / 0.72 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5536, allocations: 1.438 kB / 0.72 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.5536, allocations: 11.81 kB / 0.7201 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5536, allocations: 0 / 0.7201 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.331e-05/0.5536, allocations: 6.125 kB / 0.7201 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.5539, allocations: 330.5 kB / 0.7204 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.554, allocations: 166.6 kB / 0.7205 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.554, allocations: 80.75 kB / 0.7206 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.554, allocations: 88.34 kB / 0.7207 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.554, allocations: 107.5 kB / 0.7208 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.5541, allocations: 1.094 kB / 0.7208 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.585e-05/0.5541, allocations: 34.48 kB / 0.7208 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.5542, allocations: 127.8 kB / 0.721 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/0.5543, allocations: 93.3 kB / 0.721 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.5543, allocations: 25.7 kB / 0.7211 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.5543, allocations: 81.17 kB / 0.7211 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.5543, allocations: 0 / 0.7211 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.5543, allocations: 12.67 kB / 0.7212 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.5544, allocations: 320.5 kB / 0.7215 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-06/0.5544, allocations: 0 / 0.7215 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.5544, allocations: 5.156 kB / 0.7215 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.281e-05/0.5544, allocations: 75.28 kB / 0.7215 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.5544, allocations: 77.12 kB / 0.7216 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.444e-05/0.5545, allocations: 36.64 kB / 0.7216 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5545, allocations: 80.22 kB / 0.7217 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5545, allocations: 77.17 kB / 0.7218 GB, free: 21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.503e-05/0.5545, allocations: 156.2 kB / 0.7219 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.245e-05/0.5545, allocations: 76.53 kB / 0.722 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.5546, allocations: 164.6 kB / 0.7222 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.5546, allocations: 77.53 kB / 0.7223 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.5546, allocations: 76.78 kB / 0.7223 GB, free: 20.46 MB / 0.6355 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 6.535e-05/0.5547, allocations: 267.5 kB / 0.7226 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.5547, allocations: 107.5 kB / 0.7227 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.5547, allocations: 109.7 kB / 0.7228 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.251e-05/0.5548, allocations: 183.4 kB / 0.723 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-05/0.5548, allocations: 182.4 kB / 0.7231 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.5548, allocations: 187.2 kB / 0.7233 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.61e-05/0.5549, allocations: 353.8 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5549, allocations: 105.7 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.5549, allocations: 107.1 kB / 0.7239 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-05/0.555, allocations: 185.5 kB / 0.724 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.555, allocations: 186.3 kB / 0.7242 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.734e-05/0.555, allocations: 178.8 kB / 0.7244 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-05/0.5551, allocations: 178.1 kB / 0.7245 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.712e-05/0.5551, allocations: 311.1 kB / 0.7248 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.5552, allocations: 116.3 kB / 0.725 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.5552, allocations: 178.7 kB / 0.7251 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.5552, allocations: 103.1 kB / 0.7252 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.5553, allocations: 182.3 kB / 0.7254 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.5553, allocations: 106.9 kB / 0.7255 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.868e-05/0.5553, allocations: 77.12 kB / 0.7256 GB, free: 17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5553, allocations: 0 / 0.7256 GB, free: 17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000159/0.5555, allocations: 0 / 0.7256 GB, free: 17 MB / 0.6355 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.0001425/0.5556, allocations: 174.4 kB / 0.7257 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.536e-05/0.5557, allocations: 5.406 kB / 0.7257 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5557, allocations: 0 / 0.7257 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5557, allocations: 0 / 0.7257 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5559, allocations: 459.1 kB / 0.7262 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.5562, allocations: 161.7 kB / 0.7263 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.803e-05/0.5562, allocations: 55.22 kB / 0.7264 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.174e-06/0.5562, allocations: 0 / 0.7264 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.5562, allocations: 9.25 kB / 0.7264 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.5562, allocations: 1.188 kB / 0.7264 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.001608/0.5578, allocations: 154.6 kB / 0.7265 GB, free: 16.07 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.378419207059778] Failed to read output from testmodel.py, exit status != 0: 0.5652519559953362 0.5787762129999999 0.023266631000000003 Calling exit ...