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.0008479/0.0008479, 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.00098/0.00098, 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.8869/0.8869, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7323/0.7323, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.001276/0.001276, allocations: 75.89 kB / 0.6196 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.5305/0.5318, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001456/0.5333, allocations: 0.5312 MB / 0.7196 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.966e-05/0.5333, allocations: 5.312 kB / 0.7196 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.5334, allocations: 0 / 0.7196 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.5334, allocations: 0 / 0.7196 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.5334, allocations: 0 / 0.7196 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.003e-05/0.5335, allocations: 6.219 kB / 0.7196 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.5336, allocations: 5.375 kB / 0.7196 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.481e-05/0.5336, allocations: 2.344 kB / 0.7197 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.5337, allocations: 0 / 0.7197 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.5337, allocations: 6 kB / 0.7197 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.5337, allocations: 0 / 0.7197 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.981e-06/0.5337, allocations: 0 / 0.7197 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.5338, allocations: 5.141 kB / 0.7197 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.5338, allocations: 0 / 0.7197 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.5339, allocations: 6.469 kB / 0.7197 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5339, allocations: 0 / 0.7197 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.546e-06/0.5339, allocations: 1.312 kB / 0.7197 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5339, allocations: 4.703 kB / 0.7197 GB, free: 23.27 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.0002848/0.5342, allocations: 239.4 kB / 0.7199 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5342, allocations: 8.938 kB / 0.7199 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.5343, allocations: 2 kB / 0.7199 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.5343, allocations: 112.5 kB / 0.72 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.5344, allocations: 5.5 kB / 0.72 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.5344, allocations: 1.078 kB / 0.72 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.5345, allocations: 28.55 kB / 0.7201 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5345, allocations: 0.8906 kB / 0.7201 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.5345, allocations: 5.094 kB / 0.7201 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5345, allocations: 4 kB / 0.7201 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.649e-05/0.5345, allocations: 0.9375 kB / 0.7201 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.5347, allocations: 334.2 kB / 0.7204 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.724e-05/0.5348, allocations: 166.4 kB / 0.7205 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.5348, allocations: 82.06 kB / 0.7206 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.5348, allocations: 80.66 kB / 0.7207 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5348, allocations: 111.7 kB / 0.7208 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.5348, allocations: 0 / 0.7208 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.783e-05/0.5349, allocations: 31.75 kB / 0.7208 GB, free: 22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.5349, allocations: 126.7 kB / 0.721 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.535, allocations: 97.69 kB / 0.721 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.918e-06/0.535, allocations: 25.7 kB / 0.7211 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.879e-05/0.535, allocations: 80.84 kB / 0.7211 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.535, allocations: 1.406 kB / 0.7212 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.535, allocations: 10.84 kB / 0.7212 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.5351, allocations: 316.8 kB / 0.7215 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.5351, allocations: 4 kB / 0.7215 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.5351, allocations: 0.7031 kB / 0.7215 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.194e-05/0.5351, allocations: 76.53 kB / 0.7215 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.5351, allocations: 75.28 kB / 0.7216 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.837e-05/0.5351, allocations: 41.53 kB / 0.7217 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5352, allocations: 84.16 kB / 0.7217 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5352, allocations: 76.77 kB / 0.7218 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.5352, allocations: 153.3 kB / 0.722 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-06/0.5352, allocations: 80.91 kB / 0.722 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.5352, allocations: 152.1 kB / 0.7222 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.5353, allocations: 80.88 kB / 0.7223 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5353, allocations: 80.44 kB / 0.7223 GB, free: 20.44 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 4.884e-05/0.5353, allocations: 260.9 kB / 0.7226 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.5353, allocations: 106.7 kB / 0.7227 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.5354, allocations: 118.1 kB / 0.7228 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.5354, allocations: 183.3 kB / 0.723 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/0.5354, allocations: 182.1 kB / 0.7231 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.5354, allocations: 182.4 kB / 0.7233 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.541e-05/0.5355, allocations: 349.2 kB / 0.7236 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.5355, allocations: 107 kB / 0.7237 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.5355, allocations: 103 kB / 0.7238 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/0.5356, allocations: 194.2 kB / 0.724 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.5356, allocations: 182.9 kB / 0.7242 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.183e-05/0.5356, allocations: 178.3 kB / 0.7244 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.27e-05/0.5356, allocations: 182.5 kB / 0.7245 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.056e-05/0.5357, allocations: 310.9 kB / 0.7248 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.5357, allocations: 111.4 kB / 0.725 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.5358, allocations: 187.5 kB / 0.7251 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.5358, allocations: 101.8 kB / 0.7252 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.5359, allocations: 179.5 kB / 0.7254 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.5359, allocations: 105.5 kB / 0.7255 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.5359, allocations: 81.28 kB / 0.7256 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5359, allocations: 1.375 kB / 0.7256 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001554/0.5361, allocations: 0 / 0.7256 GB, free: 16.98 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.0001125/0.5362, allocations: 174.4 kB / 0.7257 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.952e-05/0.5362, allocations: 0 / 0.7257 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5362, allocations: 1.281 kB / 0.7257 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.5362, allocations: 0 / 0.7257 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.5364, allocations: 462.3 kB / 0.7262 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.5367, allocations: 159.1 kB / 0.7263 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.931e-05/0.5367, allocations: 55.45 kB / 0.7264 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.184e-06/0.5367, allocations: 5.438 kB / 0.7264 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.5367, allocations: 8.5 kB / 0.7264 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.5367, allocations: 4 kB / 0.7264 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.001536/0.5383, allocations: 152.2 kB / 0.7266 GB, free: 16.04 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.295092368964106] Failed to read output from testmodel.py, exit status != 0: 0.5454272809438407 0.556044378 0.020167605 Calling exit ...