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.001336/0.001336, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001569/0.001569, allocations: 166.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.198/1.198, allocations: 154.5 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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.836e-06/2.836e-06, allocations: 0 / 0.6186 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.946e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001856/0.001895, allocations: 0.5727 MB / 0.6191 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.583e-05/0.001941, allocations: 7.875 kB / 0.6191 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.381e-05/0.001975, allocations: 0 / 0.6191 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.002006, allocations: 0 / 0.6191 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.856e-05/0.002035, allocations: 0 / 0.6191 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.635e-05/0.002071, allocations: 4 kB / 0.6191 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.435e-05/0.002145, allocations: 4 kB / 0.6191 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.002213, allocations: 0 / 0.6191 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.002245, allocations: 0 / 0.6191 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.267e-05/0.002268, allocations: 4 kB / 0.6191 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.002296, allocations: 0 / 0.6191 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.002299, allocations: 0 / 0.6191 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.002317, allocations: 4 kB / 0.6191 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.002339, allocations: 3.938 kB / 0.6191 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.46e-05/0.002404, allocations: 3.984 kB / 0.6192 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002406, allocations: 0 / 0.6192 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002406, allocations: 0 / 0.6192 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.002416, allocations: 0 / 0.6192 GB, free: 4.027 MB / 0.5294 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.0005016/0.002918, allocations: 242.4 kB / 0.6194 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.002962, allocations: 17.45 kB / 0.6194 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.002991, allocations: 8.938 kB / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.003116, allocations: 105.7 kB / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.003125, allocations: 384 / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.003137, allocations: 384 / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.003225, allocations: 30.27 kB / 0.6195 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.003235, allocations: 192 / 0.6195 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.003242, allocations: 384 / 0.6195 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.003246, allocations: 384 / 0.6195 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.003265, allocations: 7.938 kB / 0.6195 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.003624, allocations: 331.2 kB / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.003748, allocations: 177.1 kB / 0.62 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.003792, allocations: 80.14 kB / 0.6201 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.003834, allocations: 75.28 kB / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.003898, allocations: 109.8 kB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.003899, allocations: 0 / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.149e-05/0.003981, allocations: 33.58 kB / 0.6203 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.004056, allocations: 126.7 kB / 0.6204 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.004155, allocations: 93.86 kB / 0.6205 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.004172, allocations: 29.69 kB / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.004214, allocations: 80.14 kB / 0.6206 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.004216, allocations: 4.125 kB / 0.6206 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.004241, allocations: 13.72 kB / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.004417, allocations: 314.8 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-06/0.004423, allocations: 3.938 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-06/0.004426, allocations: 0 / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.004468, allocations: 75.28 kB / 0.621 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.242e-05/0.00451, allocations: 79.22 kB / 0.6211 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.528e-05/0.004576, allocations: 33.69 kB / 0.6211 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.004626, allocations: 83.22 kB / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/0.004666, allocations: 79.22 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.004766, allocations: 158.5 kB / 0.6214 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.545e-05/0.004801, allocations: 83.22 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.548e-05/0.004887, allocations: 154.6 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.00497, allocations: 83.22 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.005007, allocations: 75.28 kB / 0.6218 GB, free: 1.113 MB / 0.5294 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 0.0001609/0.005168, allocations: 257.4 kB / 0.6221 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.005242, allocations: 109.2 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.417e-05/0.005316, allocations: 115.8 kB / 0.6223 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-05/0.005405, allocations: 184.3 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.193e-05/0.005497, allocations: 184.2 kB / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.594e-05/0.005583, allocations: 176.3 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.005854, allocations: 356.9 kB / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-05/0.005916, allocations: 104.9 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.005969, allocations: 105 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.006071, allocations: 184.2 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.006182, allocations: 176.3 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001157/0.006298, allocations: 184.2 kB / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.626e-05/0.006394, allocations: 188.2 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.006637, allocations: 303.8 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.006697, allocations: 109 kB / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.006805, allocations: 180.3 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.006907, allocations: 116.9 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.007012, allocations: 176.3 kB / 0.6249 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.007074, allocations: 108.9 kB / 0.625 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.007119, allocations: 79.28 kB / 0.6251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.00712, allocations: 0 / 0.6251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002829/0.007402, allocations: 0 / 0.6251 GB, free: 13.6 MB / 0.545 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.0001754/0.007578, allocations: 174.5 kB / 0.6252 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.492e-05/0.007633, allocations: 0 / 0.6252 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007634, allocations: 0 / 0.6252 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.007636, allocations: 4.094 kB / 0.6252 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.008068, allocations: 455.7 kB / 0.6257 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.008359, allocations: 164 kB / 0.6258 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.008429, allocations: 59.34 kB / 0.6259 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.324e-06/0.008432, allocations: 3.938 kB / 0.6259 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.008447, allocations: 8.5 kB / 0.6259 GB, free: 12.69 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.008447, allocations: 0 / 0.6259 GB, free: 12.69 MB / 0.545 GB Notification: Performance of Templates: time 0.002532/0.01098, allocations: 152.9 kB / 0.626 GB, free: 12.54 MB / 0.545 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: 5.699578385800123] Failed to read output from testmodel.py, exit status != 0: 0.02078164368867874 0.035584263000000005 0.030020467000000002 Calling exit ...