Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007603/0.0007603, allocations: 76.45 kB / 19.9 MB, free: 16 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.0007678/0.0007678, 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.904/0.904, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7146/0.7146, allocations: 154.9 MB / 414.9 MB, free: 16 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.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.001405/0.001405, allocations: 76.12 kB / 0.6199 GB, free: 12.71 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5106/0.512, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001226/0.5133, allocations: 0.581 MB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.554e-05/0.5133, allocations: 1.219 kB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.5133, allocations: 0 / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.5133, allocations: 0.5156 kB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.233e-05/0.5134, allocations: 5.125 kB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 2.796e-05/0.5134, allocations: 0 / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.5134, allocations: 1.875 kB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.5135, allocations: 6.062 kB / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.5135, allocations: 1.406 kB / 0.7201 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.595e-05/0.5135, allocations: 8.531 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.5135, allocations: 4 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.604e-06/0.5135, allocations: 1.5 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.5136, allocations: 4 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.5136, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 4.404e-05/0.5136, allocations: 2.359 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5136, allocations: 1.812 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5136, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5136, allocations: 0 / 0.7201 GB, free: 23.12 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.0001818/0.5138, allocations: 240.1 kB / 0.7203 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5138, allocations: 11.62 kB / 0.7203 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.5139, allocations: 0.9375 kB / 0.7203 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.34e-05/0.5139, allocations: 112.5 kB / 0.7204 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.5139, allocations: 2.453 kB / 0.7204 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.5139, allocations: 4.312 kB / 0.7204 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.001e-05/0.514, allocations: 28.34 kB / 0.7205 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.514, allocations: 5.312 kB / 0.7205 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.514, allocations: 3.938 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.514, allocations: 0.5625 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.117e-05/0.514, allocations: 1.188 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.5142, allocations: 334.1 kB / 0.7208 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.5142, allocations: 167.4 kB / 0.7209 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.16e-05/0.5142, allocations: 88.73 kB / 0.721 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.5142, allocations: 80.53 kB / 0.7211 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.5143, allocations: 107.5 kB / 0.7212 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5143, allocations: 0 / 0.7212 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 4.444e-05/0.5143, allocations: 31.25 kB / 0.7212 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.5143, allocations: 128.4 kB / 0.7214 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.134e-05/0.5144, allocations: 92.55 kB / 0.7215 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-06/0.5144, allocations: 25.7 kB / 0.7215 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/0.5144, allocations: 81.92 kB / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.5144, allocations: 128 / 0.7216 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.5144, allocations: 15.36 kB / 0.7216 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.894e-05/0.5144, allocations: 316.7 kB / 0.7219 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-06/0.5144, allocations: 3.938 kB / 0.7219 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-06/0.5144, allocations: 1.094 kB / 0.7219 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-06/0.5144, allocations: 75.98 kB / 0.7219 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.5145, allocations: 76.53 kB / 0.722 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.697e-05/0.5145, allocations: 36.61 kB / 0.7221 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5145, allocations: 83.75 kB / 0.7221 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5145, allocations: 79.22 kB / 0.7222 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5145, allocations: 157.7 kB / 0.7224 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-06/0.5145, allocations: 79.8 kB / 0.7224 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.5145, allocations: 157.6 kB / 0.7226 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.5146, allocations: 77.16 kB / 0.7227 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.5146, allocations: 80.38 kB / 0.7227 GB, free: 20.28 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 3.753e-05/0.5146, allocations: 263 kB / 0.723 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.5146, allocations: 111.3 kB / 0.7231 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.5147, allocations: 110.7 kB / 0.7232 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.5147, allocations: 183.4 kB / 0.7234 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.5147, allocations: 178.1 kB / 0.7235 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.5147, allocations: 186.5 kB / 0.7237 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.596e-05/0.5148, allocations: 354.3 kB / 0.7241 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.5148, allocations: 102.8 kB / 0.7242 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.5148, allocations: 105.7 kB / 0.7243 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/0.5148, allocations: 187.2 kB / 0.7244 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5148, allocations: 194.1 kB / 0.7246 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.247e-05/0.5148, allocations: 178.2 kB / 0.7248 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/0.5148, allocations: 177.9 kB / 0.725 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.199e-05/0.5149, allocations: 307 kB / 0.7253 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.5149, allocations: 116.4 kB / 0.7254 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.5149, allocations: 178 kB / 0.7255 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/0.515, allocations: 102.7 kB / 0.7256 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.515, allocations: 187.2 kB / 0.7258 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.515, allocations: 102.9 kB / 0.7259 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.681e-05/0.515, allocations: 77.2 kB / 0.726 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.515, allocations: 0 / 0.726 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001511/0.5151, allocations: 0 / 0.726 GB, free: 16.82 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 7.595e-05/0.5152, allocations: 174 kB / 0.7262 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 2.9e-05/0.5153, allocations: 5.469 kB / 0.7262 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5153, allocations: 0 / 0.7262 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.5153, allocations: 5.594 kB / 0.7262 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.5154, allocations: 453.9 kB / 0.7266 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001325/0.5155, allocations: 161.3 kB / 0.7267 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.451e-05/0.5156, allocations: 53.97 kB / 0.7268 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.613e-06/0.5156, allocations: 1.438 kB / 0.7268 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-06/0.5156, allocations: 8.5 kB / 0.7268 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of SimCode: time 3.1e-07/0.5156, allocations: 0 / 0.7268 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.001071/0.5167, allocations: 159.9 kB / 0.727 GB, free: 15.89 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.189665578072891] Failed to read output from testmodel.py, exit status != 0: 0.5236993719590828 0.530693799 0.015323467 Calling exit ...