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.0007829/0.0007829, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000749/0.000749, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.86/0.86, allocations: 177.1 MB / 203.5 MB, free: 5.742 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6829/0.6829, allocations: 154.6 MB / 414.5 MB, free: 0.832 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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.727e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001247/0.001274, allocations: 0.5729 MB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.089e-05/0.001315, allocations: 0 / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.001343, allocations: 0 / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.00137, allocations: 3.938 kB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.667e-05/0.001397, allocations: 0 / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.874e-05/0.001425, allocations: 0 / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.001488, allocations: 4 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.001535, allocations: 4 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.001565, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.038e-05/0.001586, allocations: 7.984 kB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.001607, allocations: 0 / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.236e-06/0.00161, allocations: 0 / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.001622, allocations: 0 / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.001639, allocations: 4 kB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.328e-05/0.001693, allocations: 3.984 kB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001694, allocations: 3.938 kB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.91e-07/0.001695, allocations: 0 / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.001698, allocations: 4 kB / 0.6199 GB, free: 12.57 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.0002298/0.001928, allocations: 234.4 kB / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.001964, allocations: 9.469 kB / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.001989, allocations: 8.875 kB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/0.002066, allocations: 109.8 kB / 0.6203 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.002076, allocations: 384 / 0.6203 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.002085, allocations: 4.359 kB / 0.6203 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/0.002161, allocations: 34.2 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.002169, allocations: 192 / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.002177, allocations: 384 / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.002181, allocations: 4.375 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.338e-05/0.002195, allocations: 3.938 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.002425, allocations: 327.2 kB / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.731e-05/0.002492, allocations: 173.1 kB / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.002517, allocations: 84.12 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.002536, allocations: 75.28 kB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.002566, allocations: 109.8 kB / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.002567, allocations: 0 / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.293e-05/0.00262, allocations: 29.64 kB / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.002666, allocations: 130.7 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.002721, allocations: 97.86 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.002728, allocations: 25.7 kB / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.002753, allocations: 80.14 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.002755, allocations: 3.938 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.002769, allocations: 9.719 kB / 0.6214 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.002838, allocations: 318.8 kB / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.002843, allocations: 0 / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/0.002846, allocations: 0 / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.863e-05/0.002864, allocations: 75.28 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/0.00288, allocations: 75.28 kB / 0.6218 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.055e-05/0.002911, allocations: 33.7 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.002936, allocations: 83.41 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.002956, allocations: 83.16 kB / 0.622 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.089e-05/0.002996, allocations: 154.6 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.595e-05/0.003012, allocations: 79.22 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/0.003045, allocations: 158.5 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.003084, allocations: 79.28 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.0031, allocations: 79.22 kB / 0.6226 GB, free: 9.668 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 7.088e-05/0.003171, allocations: 261.4 kB / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.003202, allocations: 105 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.449e-05/0.003237, allocations: 112 kB / 0.623 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.61e-05/0.003283, allocations: 188.4 kB / 0.6232 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-05/0.00333, allocations: 184.3 kB / 0.6234 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.949e-05/0.00337, allocations: 184.2 kB / 0.6236 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.003502, allocations: 352.9 kB / 0.6239 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/0.003529, allocations: 108.9 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.616e-05/0.003555, allocations: 104.9 kB / 0.6241 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-05/0.003597, allocations: 180.3 kB / 0.6243 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.00364, allocations: 180.2 kB / 0.6244 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.971e-05/0.003689, allocations: 184.2 kB / 0.6246 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.684e-05/0.003736, allocations: 184.2 kB / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.003834, allocations: 303.8 kB / 0.6251 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.003865, allocations: 104.9 kB / 0.6252 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.003914, allocations: 184.3 kB / 0.6254 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-05/0.003962, allocations: 112.8 kB / 0.6255 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.00401, allocations: 180.3 kB / 0.6256 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.004037, allocations: 105 kB / 0.6257 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.004066, allocations: 75.28 kB / 0.6258 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004066, allocations: 0 / 0.6258 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000155/0.004221, allocations: 0 / 0.6258 GB, free: 6.16 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 0.0001051/0.004326, allocations: 178.6 kB / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.049e-05/0.004367, allocations: 0 / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.004368, allocations: 0 / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.41e-07/0.004369, allocations: 0 / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.004627, allocations: 463.7 kB / 0.6264 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.005271, allocations: 181.2 kB / 0.6266 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.005309, allocations: 55.36 kB / 0.6266 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.00532, allocations: 8.5 kB / 0.6266 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.005321, allocations: 0 / 0.6266 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of Templates: time 0.001071/0.006392, allocations: 327.2 kB / 0.627 GB, free: 4.914 MB / 0.5886 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 -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.5538854310289025] Failed to read output from testmodel.py, exit status != 0: 0.010728124529123306 0.018120145 0.014618152 Calling exit ...