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.001021/0.001021, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009749/0.0009749, allocations: 173 kB / 23.02 MB, free: 1.543 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.9331/0.9331, allocations: 177.1 MB / 203.4 MB, free: 5.578 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-535:34: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-535:42: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.8085/0.8085, allocations: 154.9 MB / 414.8 MB, free: 408 kB / 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 1.924e-06/1.924e-06, allocations: 0 / 0.5207 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.629e-05, allocations: 5.812 kB / 0.5207 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001392/0.001428, allocations: 0.5781 MB / 0.5213 GB, free: 100 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.141e-05/0.001479, allocations: 0 / 0.5213 GB, free: 100 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.001507, allocations: 2.969 kB / 0.5213 GB, free: 100 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.001541, allocations: 3.938 kB / 0.5213 GB, free: 96 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.171e-05/0.001573, allocations: 0 / 0.5213 GB, free: 96 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.342e-05/0.001606, allocations: 0.9844 kB / 0.5213 GB, free: 96 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.001668, allocations: 8 kB / 0.5213 GB, free: 88 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.001713, allocations: 192 / 0.5213 GB, free: 88 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.174e-05/0.001745, allocations: 0.875 kB / 0.5213 GB, free: 88 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.173e-05/0.001767, allocations: 0 / 0.5213 GB, free: 88 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.001789, allocations: 4.484 kB / 0.5213 GB, free: 84 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-06/0.001794, allocations: 0.75 kB / 0.5213 GB, free: 84 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.001811, allocations: 4.766 kB / 0.5213 GB, free: 80 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.001832, allocations: 4.828 kB / 0.5213 GB, free: 76 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.89e-05/0.001891, allocations: 0.7656 kB / 0.5213 GB, free: 76 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001893, allocations: 0 / 0.5213 GB, free: 76 kB / 442.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.001894, allocations: 0.9688 kB / 0.5213 GB, free: 76 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.001898, allocations: 0 / 0.5213 GB, free: 76 kB / 442.7 MB 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.0002917/0.00219, allocations: 341.4 kB / 0.5217 GB, free: 15.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.002228, allocations: 8.031 kB / 0.5217 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.002263, allocations: 5.703 kB / 0.5217 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.002353, allocations: 109.2 kB / 0.5218 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.002365, allocations: 1.344 kB / 0.5218 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.002372, allocations: 384 / 0.5218 GB, free: 15.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.602e-05/0.002448, allocations: 35.95 kB / 0.5218 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.002455, allocations: 192 / 0.5218 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.002465, allocations: 384 / 0.5218 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.002472, allocations: 4.312 kB / 0.5218 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.097e-05/0.002483, allocations: 3.938 kB / 0.5218 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.002767, allocations: 478.8 kB / 0.5223 GB, free: 15.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.00286, allocations: 265.9 kB / 0.5225 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.002896, allocations: 127.9 kB / 0.5226 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.002934, allocations: 123.2 kB / 0.5228 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.002986, allocations: 156.6 kB / 0.5229 GB, free: 14.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.002987, allocations: 1.219 kB / 0.5229 GB, free: 14.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 5.241e-05/0.00304, allocations: 29.64 kB / 0.5229 GB, free: 14.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.0031, allocations: 170.6 kB / 0.5231 GB, free: 14.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.003177, allocations: 158.5 kB / 0.5233 GB, free: 13.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.003185, allocations: 27.2 kB / 0.5233 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.003224, allocations: 126.9 kB / 0.5234 GB, free: 13.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.003226, allocations: 0 / 0.5234 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.003245, allocations: 19.36 kB / 0.5234 GB, free: 13.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.003362, allocations: 0.4892 MB / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-06/0.003368, allocations: 0 / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-06/0.003371, allocations: 1.062 kB / 0.5239 GB, free: 13.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.003402, allocations: 119.2 kB / 0.524 GB, free: 13.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/0.003432, allocations: 119.2 kB / 0.5241 GB, free: 13.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.542e-05/0.003468, allocations: 30.77 kB / 0.5242 GB, free: 12.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.003508, allocations: 123.2 kB / 0.5243 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/0.003541, allocations: 127.1 kB / 0.5244 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-05/0.003612, allocations: 243.3 kB / 0.5246 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.003649, allocations: 131.1 kB / 0.5248 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.407e-05/0.003703, allocations: 243.1 kB / 0.525 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.003756, allocations: 127.2 kB / 0.5251 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.003785, allocations: 123.8 kB / 0.5252 GB, free: 11.88 MB / 458.7 MB 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.0001162/0.003901, allocations: 391.7 kB / 0.5256 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.003947, allocations: 148.9 kB / 0.5257 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.003997, allocations: 160.6 kB / 0.5259 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-05/0.004064, allocations: 264.1 kB / 0.5261 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.059e-05/0.004145, allocations: 272.1 kB / 0.5264 GB, free: 10.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.089e-05/0.004236, allocations: 270.9 kB / 0.5267 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.004482, allocations: 499.9 kB / 0.5271 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/0.004522, allocations: 152.8 kB / 0.5273 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.00456, allocations: 148.8 kB / 0.5274 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.004636, allocations: 272.1 kB / 0.5277 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.004711, allocations: 268 kB / 0.5279 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.097e-05/0.004782, allocations: 268 kB / 0.5282 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.589e-05/0.004868, allocations: 281.1 kB / 0.5285 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.005022, allocations: 440 kB / 0.5289 GB, free: 7.969 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.005072, allocations: 148.9 kB / 0.529 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.261e-05/0.005155, allocations: 272.6 kB / 0.5293 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.005217, allocations: 152.8 kB / 0.5294 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.005297, allocations: 264.6 kB / 0.5297 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.005339, allocations: 154.1 kB / 0.5298 GB, free: 6.965 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.766e-05/0.005387, allocations: 119.2 kB / 0.5299 GB, free: 6.848 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005387, allocations: 1.438 kB / 0.5299 GB, free: 6.848 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.005539, allocations: 0 / 0.5299 GB, free: 6.848 MB / 458.7 MB 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.0001044/0.005643, allocations: 219.9 kB / 0.5302 GB, free: 6.621 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 4.42e-05/0.005688, allocations: 4 kB / 0.5302 GB, free: 6.617 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.00569, allocations: 0 / 0.5302 GB, free: 6.617 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.005691, allocations: 0 / 0.5302 GB, free: 6.617 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.006013, allocations: 0.7028 MB / 0.5308 GB, free: 5.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.006236, allocations: 210.2 kB / 0.531 GB, free: 5.676 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.006269, allocations: 63.16 kB / 0.5311 GB, free: 5.594 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.074e-06/0.006271, allocations: 0 / 0.5311 GB, free: 5.594 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.006283, allocations: 11.25 kB / 0.5311 GB, free: 5.586 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006283, allocations: 0 / 0.5311 GB, free: 5.586 MB / 458.7 MB Notification: Performance of Templates: time 0.001499/0.007782, allocations: 167.2 kB / 0.5313 GB, free: 5.426 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6444915728643537]