Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007338/0.0007338, allocations: 76.55 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.0007559/0.0007559, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8358/0.8358, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6966/0.6966, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.481e-05, allocations: 5.375 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001129/0.001154, allocations: 0.5851 MB / 0.6199 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.842e-05/0.001192, allocations: 7.938 kB / 0.6199 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.001219, allocations: 0 / 0.6199 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.001244, allocations: 0 / 0.6199 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.415e-05/0.001268, allocations: 0 / 0.6199 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.546e-05/0.001294, allocations: 0 / 0.6199 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.001348, allocations: 4 kB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.001398, allocations: 7.984 kB / 0.62 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.046e-05/0.001428, allocations: 0 / 0.62 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.31e-05/0.001451, allocations: 4 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.001474, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.906e-06/0.001477, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.00149, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.001507, allocations: 3.938 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.397e-05/0.001561, allocations: 4 kB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.001562, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.42e-07/0.001563, allocations: 0 / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.001567, allocations: 0 / 0.62 GB, free: 12.48 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.0002282/0.001795, allocations: 238.5 kB / 0.6202 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.001828, allocations: 8.031 kB / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.001853, allocations: 8.875 kB / 0.6202 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.001929, allocations: 105.8 kB / 0.6203 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.001938, allocations: 384 / 0.6203 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.001945, allocations: 384 / 0.6203 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.916e-05/0.002014, allocations: 30.27 kB / 0.6203 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.002021, allocations: 192 / 0.6203 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.002029, allocations: 384 / 0.6203 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.002033, allocations: 384 / 0.6203 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.365e-05/0.002047, allocations: 3.938 kB / 0.6204 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.00227, allocations: 335.1 kB / 0.6207 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.442e-05/0.002335, allocations: 173.2 kB / 0.6208 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.002357, allocations: 80.14 kB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.002385, allocations: 79.27 kB / 0.621 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.002418, allocations: 109.8 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.002419, allocations: 4 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.837e-05/0.002477, allocations: 37.56 kB / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.002524, allocations: 126.7 kB / 0.6213 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.002583, allocations: 89.86 kB / 0.6213 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.002592, allocations: 29.7 kB / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.002617, allocations: 84.08 kB / 0.6214 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.002619, allocations: 4.125 kB / 0.6215 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.002635, allocations: 9.719 kB / 0.6215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.002708, allocations: 310.8 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.002717, allocations: 8 kB / 0.6218 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/0.00272, allocations: 0 / 0.6218 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.002743, allocations: 75.28 kB / 0.6218 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.002761, allocations: 75.28 kB / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.458e-05/0.002796, allocations: 37.62 kB / 0.6219 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.002822, allocations: 79.28 kB / 0.622 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.002844, allocations: 79.22 kB / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.948e-05/0.002893, allocations: 162.5 kB / 0.6222 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.845e-05/0.002911, allocations: 75.28 kB / 0.6223 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.451e-05/0.002946, allocations: 150.6 kB / 0.6225 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.002994, allocations: 79.22 kB / 0.6225 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.003015, allocations: 83.28 kB / 0.6226 GB, free: 9.578 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 8.61e-05/0.003101, allocations: 261.4 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.003141, allocations: 112.9 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.003175, allocations: 112 kB / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/0.003212, allocations: 176.5 kB / 0.6233 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.562e-05/0.003258, allocations: 184.2 kB / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-05/0.003306, allocations: 192.3 kB / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.00343, allocations: 352.8 kB / 0.6239 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/0.003453, allocations: 101 kB / 0.624 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.003476, allocations: 101 kB / 0.6241 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.371e-05/0.00352, allocations: 184.2 kB / 0.6243 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.003564, allocations: 188.3 kB / 0.6245 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-05/0.003608, allocations: 184.1 kB / 0.6247 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-05/0.00365, allocations: 180.3 kB / 0.6248 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.51e-05/0.003746, allocations: 303.8 kB / 0.6251 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.003775, allocations: 105 kB / 0.6252 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.003827, allocations: 184.2 kB / 0.6254 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.003874, allocations: 108.9 kB / 0.6255 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.00392, allocations: 184.2 kB / 0.6257 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.003945, allocations: 109 kB / 0.6258 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.003973, allocations: 75.28 kB / 0.6259 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.003973, allocations: 0 / 0.6259 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001653/0.004138, allocations: 0 / 0.6259 GB, free: 6.07 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 9.766e-05/0.004236, allocations: 166.5 kB / 0.626 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.543e-05/0.004281, allocations: 8 kB / 0.626 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.004283, allocations: 4.094 kB / 0.626 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.004285, allocations: 3.938 kB / 0.626 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.004534, allocations: 459.6 kB / 0.6265 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.004729, allocations: 184.5 kB / 0.6267 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.004767, allocations: 55.36 kB / 0.6267 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-06/0.004777, allocations: 8.5 kB / 0.6267 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.004778, allocations: 0 / 0.6267 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of Templates: time 0.001009/0.005787, allocations: 331.6 kB / 0.627 GB, free: 4.816 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.811018503271043] Failed to read output from testmodel.py, exit status != 0: 0.010397559963166714 0.018561435 0.015331513000000001 Calling exit ...