Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.XMLTestInnerOuter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") translateModel(ExternData.Examples.XMLTestInnerOuter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.XMLTestInnerOuter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 109.6 kB / 16.41 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 190.7 kB / 17.35 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01307/0.01307, allocations: 2.962 MB / 294.2 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.88 kB / 407 MB, free: 28.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07502/0.07632, allocations: 50.32 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.XMLTestInnerOuter): time 0.002919/0.07927, allocations: 1.68 MB / 459 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.08157, allocations: 1.619 MB / 460.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.08167, allocations: 0 / 460.6 MB, free: 7.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:250:3-279:14:writable] Warning: Pure function 'ExternData.XMLFile' contains a call to impure function 'ExternData.Types.ExternXMLFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.08201, allocations: 31.8 kB / 460.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.08242, allocations: 127.4 kB / 460.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.08271, allocations: 91.78 kB / 460.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.08289, allocations: 99.77 kB / 460.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.08299, allocations: 16.2 kB / 460.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.08308, allocations: 43.8 kB / 461 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.08326, allocations: 39.83 kB / 461 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.08329, allocations: 12 kB / 461 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.08363, allocations: 211.7 kB / 461.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.08372, allocations: 23.92 kB / 461.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.08379, allocations: 31.81 kB / 461.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.08422, allocations: 255.2 kB / 461.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.08423, allocations: 0 / 461.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08424, allocations: 0 / 461.5 MB, free: 6.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.08425, allocations: 0 / 461.5 MB, free: 6.102 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005945/0.08485, allocations: 468.2 kB / 462 MB, free: 5.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.08489, allocations: 11.89 kB / 462 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.08495, allocations: 8.891 kB / 462 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.0852, allocations: 204.2 kB / 462.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.08523, allocations: 8.375 kB / 462.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.08525, allocations: 8.125 kB / 462.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.08548, allocations: 99.38 kB / 462.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.0855, allocations: 0 / 462.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.08551, allocations: 7.875 kB / 462.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.08552, allocations: 0 / 462.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.08568, allocations: 63.95 kB / 462.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.08609, allocations: 325.7 kB / 462.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.08636, allocations: 105.2 kB / 462.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.08648, allocations: 57.75 kB / 462.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.08651, allocations: 4 kB / 462.9 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.08674, allocations: 154.7 kB / 463 MB, free: 4.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.08675, allocations: 3.938 kB / 463 MB, free: 4.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005123/0.08727, allocations: 251.2 kB / 463.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.08734, allocations: 106.8 kB / 463.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.08746, allocations: 141.8 kB / 463.5 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.08749, allocations: 25.7 kB / 463.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.08755, allocations: 92.12 kB / 463.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.0876, allocations: 27.75 kB / 463.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.08767, allocations: 29.7 kB / 463.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.0878, allocations: 326.8 kB / 464 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.08791, allocations: 39.98 kB / 464.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.08802, allocations: 65.75 kB / 464.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.08825, allocations: 160.9 kB / 464.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.08826, allocations: 0 / 464.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003254/0.08859, allocations: 199.2 kB / 464.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.08864, allocations: 37.69 kB / 464.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.08865, allocations: 0 / 464.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.08866, allocations: 4 kB / 464.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.08873, allocations: 16 kB / 464.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.08875, allocations: 3.984 kB / 464.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.08882, allocations: 11.89 kB / 464.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.08884, allocations: 4 kB / 464.5 MB, free: 2.773 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (component.timeTable.nextEventScaled,component.timeTable.nextEvent,$PRE.component.timeTable.nextEvent,component.timeTable.last,component.timeTable.b,component.timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001192/0.08897, allocations: 167.5 kB / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.08901, allocations: 7.953 kB / 464.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.08904, allocations: 12.38 kB / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.08905, allocations: 0 / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.08905, allocations: 3.984 kB / 464.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.08911, allocations: 96.94 kB / 464.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.08914, allocations: 15.88 kB / 464.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.08921, allocations: 4 kB / 464.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.08926, allocations: 11.98 kB / 464.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004319/0.0897, allocations: 433.5 kB / 465.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004305/0.09015, allocations: 479.6 kB / 465.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000129/0.09029, allocations: 80.39 kB / 465.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.09037, allocations: 110.6 kB / 465.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.09038, allocations: 0 / 465.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.09175, allocations: 0.5414 MB / 466.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005673/0.09233, allocations: 0.7207 MB / 467.2 MB, free: 72 kB / 334.1 MB Notification: Performance of Templates: time 0.005714/0.09806, allocations: 2.773 MB / 470 MB, free: 13.3 MB / 350.1 MB make -j1 -f ExternData_ExternData.Examples.XMLTestInnerOuter.makefile (rm -f ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; mkfifo ExternData_ExternData.Examples.XMLTestInnerOuter.pipe ; head -c 1048576 < ExternData_ExternData.Examples.XMLTestInnerOuter.pipe >> ../files/ExternData_ExternData.Examples.XMLTestInnerOuter.sim & ./ExternData_ExternData.Examples.XMLTestInnerOuter -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.XMLTestInnerOuter.pipe 2>&1)