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.0008582/0.0008582, allocations: 76.45 kB / 19.9 MB, free: 24 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.001016/0.001016, allocations: 173.8 kB / 23.19 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.9363/0.9363, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7473/0.7473, allocations: 154.9 MB / 414.9 MB, free: 0.5273 MB / 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.001527/0.001527, allocations: 71.06 kB / 0.6199 GB, free: 12.72 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.4766/0.4781, allocations: 102 MB / 0.7195 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001515/0.4796, allocations: 0.5743 MB / 0.72 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.983e-05/0.4797, allocations: 3.984 kB / 0.72 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.998e-05/0.4797, allocations: 1.469 kB / 0.72 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.4798, allocations: 0 / 0.72 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.4798, allocations: 0 / 0.72 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.331e-05/0.4798, allocations: 3.938 kB / 0.72 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.4799, allocations: 10.98 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.4799, allocations: 2.297 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.169e-05/0.48, allocations: 0.75 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.167e-05/0.48, allocations: 3.938 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.48, allocations: 1.406 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-06/0.48, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.48, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.48, allocations: 0.9062 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.187e-05/0.4801, allocations: 3.078 kB / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4801, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4801, allocations: 0 / 0.7201 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4801, allocations: 5.125 kB / 0.7201 GB, free: 23.11 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.0002157/0.4803, allocations: 239.6 kB / 0.7203 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4804, allocations: 11.69 kB / 0.7203 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.4804, allocations: 2.125 kB / 0.7203 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.4805, allocations: 104.7 kB / 0.7204 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4805, allocations: 1.5 kB / 0.7204 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.4805, allocations: 384 / 0.7204 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.4806, allocations: 33 kB / 0.7205 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.4806, allocations: 4.125 kB / 0.7205 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.4806, allocations: 4.812 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4806, allocations: 4 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.514e-05/0.4806, allocations: 5.672 kB / 0.7205 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.4808, allocations: 330.8 kB / 0.7208 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.105e-05/0.4808, allocations: 166.9 kB / 0.7209 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.4808, allocations: 89.33 kB / 0.721 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4809, allocations: 79.22 kB / 0.7211 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.4809, allocations: 109 kB / 0.7212 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.4809, allocations: 0 / 0.7212 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.516e-05/0.4809, allocations: 31.45 kB / 0.7212 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.481, allocations: 127.3 kB / 0.7214 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.481, allocations: 96.84 kB / 0.7215 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-06/0.481, allocations: 25.7 kB / 0.7215 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.752e-05/0.481, allocations: 81.95 kB / 0.7216 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.481, allocations: 0 / 0.7216 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.4811, allocations: 15.56 kB / 0.7216 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.989e-05/0.4811, allocations: 316.6 kB / 0.7219 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-06/0.4811, allocations: 7.938 kB / 0.7219 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-06/0.4811, allocations: 1.156 kB / 0.7219 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-06/0.4811, allocations: 75.28 kB / 0.722 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.4811, allocations: 76.83 kB / 0.722 GB, free: 21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.645e-05/0.4811, allocations: 32.52 kB / 0.7221 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4812, allocations: 85.03 kB / 0.7221 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4812, allocations: 77.34 kB / 0.7222 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4812, allocations: 156 kB / 0.7224 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-06/0.4812, allocations: 77.34 kB / 0.7224 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.4812, allocations: 160.2 kB / 0.7226 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.4812, allocations: 77.23 kB / 0.7227 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.4812, allocations: 76.86 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 4.367e-05/0.4813, allocations: 263.2 kB / 0.723 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.4813, allocations: 106.8 kB / 0.7231 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.4813, allocations: 111.5 kB / 0.7232 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.4813, allocations: 191.1 kB / 0.7234 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/0.4814, allocations: 178.5 kB / 0.7235 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.4814, allocations: 181.8 kB / 0.7237 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.21e-05/0.4815, allocations: 349.4 kB / 0.7241 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.4815, allocations: 103.5 kB / 0.7241 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.4815, allocations: 110 kB / 0.7243 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/0.4815, allocations: 190 kB / 0.7244 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.4815, allocations: 182.1 kB / 0.7246 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/0.4815, allocations: 182.6 kB / 0.7248 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-05/0.4815, allocations: 178.2 kB / 0.725 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.285e-05/0.4816, allocations: 312.1 kB / 0.7253 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.4816, allocations: 114.2 kB / 0.7254 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4816, allocations: 180.5 kB / 0.7255 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.4817, allocations: 101.5 kB / 0.7256 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.4817, allocations: 187.2 kB / 0.7258 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.4817, allocations: 102.8 kB / 0.7259 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.938e-05/0.4817, allocations: 77.02 kB / 0.726 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4817, allocations: 0 / 0.726 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001625/0.4819, allocations: 1.188 kB / 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 8.222e-05/0.482, allocations: 173.7 kB / 0.7261 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.801e-05/0.482, allocations: 3.938 kB / 0.7261 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.482, allocations: 1.312 kB / 0.7262 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-07/0.482, allocations: 0 / 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.0001868/0.4822, allocations: 454.6 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.000174/0.4824, allocations: 161.9 kB / 0.7267 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.172e-05/0.4824, allocations: 55.36 kB / 0.7268 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.823e-06/0.4824, allocations: 0 / 0.7268 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-06/0.4824, allocations: 8.5 kB / 0.7268 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.4824, allocations: 1.094 kB / 0.7268 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.001329/0.4837, allocations: 160.2 kB / 0.727 GB, free: 15.89 MB / 0.6355 GB " [Timeout remaining time 660] 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 cvode -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.198651271988638] Failed to read output from testmodel.py, exit status != 0: 0.4912048779660836 0.49845481099999994 0.016547639 Calling exit ...