Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") translateModel(ExternData.Examples.INITest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.INITest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 113 kB / 16.42 MB, free: 6.457 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.00169/0.001691, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01278/0.01278, allocations: 2.958 MB / 294.2 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.89 kB / 407 MB, free: 28.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07608/0.07732, allocations: 50.33 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.00283/0.08018, allocations: 1.552 MB / 458.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.08164, allocations: 1.008 MB / 459.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.08173, allocations: 8 kB / 459.8 MB, free: 7.801 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:79:3-102:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.08198, allocations: 27.84 kB / 459.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.08237, allocations: 107.5 kB / 460 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.152e-05/0.08241, allocations: 11.98 kB / 460 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.08249, allocations: 31.86 kB / 460 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.08259, allocations: 8 kB / 460 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.08265, allocations: 23.86 kB / 460.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.0828, allocations: 15.92 kB / 460.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.08283, allocations: 8 kB / 460.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.08305, allocations: 115.8 kB / 460.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.08307, allocations: 3.984 kB / 460.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.08311, allocations: 15.88 kB / 460.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.08337, allocations: 127.5 kB / 460.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.08338, allocations: 0 / 460.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.08339, allocations: 0 / 460.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.0834, allocations: 3.938 kB / 460.3 MB, free: 7.309 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004496/0.08386, allocations: 383 kB / 460.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.08391, allocations: 15.89 kB / 460.7 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.08395, allocations: 4.938 kB / 460.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.08417, allocations: 184.2 kB / 460.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.08419, allocations: 384 / 460.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.08421, allocations: 4.375 kB / 460.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.08435, allocations: 45.81 kB / 461 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.08437, allocations: 0 / 461 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.08438, allocations: 0 / 461 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.08439, allocations: 3.938 kB / 461 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.08448, allocations: 27.98 kB / 461 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.08482, allocations: 268.8 kB / 461.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.085, allocations: 42.62 kB / 461.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.08507, allocations: 20.86 kB / 461.3 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.08509, allocations: 4 kB / 461.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.08511, allocations: 42.62 kB / 461.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/0.08512, allocations: 0 / 461.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002193/0.08535, allocations: 65.58 kB / 461.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.08539, allocations: 55.39 kB / 461.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.08549, allocations: 117.8 kB / 461.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.08551, allocations: 25.7 kB / 461.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.08556, allocations: 88.14 kB / 461.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.08558, allocations: 12.28 kB / 461.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.08562, allocations: 9.719 kB / 461.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.08572, allocations: 326.8 kB / 462 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.944e-05/0.08577, allocations: 4 kB / 462.1 MB, free: 5.379 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.08581, allocations: 19.92 kB / 462.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.08589, allocations: 28.78 kB / 462.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0859, allocations: 0 / 462.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001179/0.08602, allocations: 57.69 kB / 462.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.08604, allocations: 8 kB / 462.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.08606, allocations: 3.984 kB / 462.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.08607, allocations: 0 / 462.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.08612, allocations: 4 kB / 462.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.08614, allocations: 0 / 462.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.08617, allocations: 7.938 kB / 462.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.08618, allocations: 0 / 462.2 MB, free: 5.242 MB / 334.1 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 (3): * Single equations (assignments): 3 * 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 6.463e-05/0.08625, allocations: 118.4 kB / 462.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.08629, allocations: 7.938 kB / 462.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.08632, allocations: 11.91 kB / 462.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.08633, allocations: 3.938 kB / 462.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.08634, allocations: 0 / 462.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.08638, allocations: 77.11 kB / 462.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.0864, allocations: 0 / 462.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.08647, allocations: 19.86 kB / 462.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.08651, allocations: 4 kB / 462.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001435/0.08666, allocations: 133 kB / 462.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001762/0.08684, allocations: 234.7 kB / 462.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.516e-05/0.0869, allocations: 12.42 kB / 462.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.08696, allocations: 91.27 kB / 462.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of Backend: time 3.61e-07/0.08696, allocations: 0 / 462.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.0879, allocations: 314.8 kB / 463.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.000453/0.08837, allocations: 0.5809 MB / 463.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of Templates: time 0.004098/0.09248, allocations: 1.471 MB / 465.2 MB, free: 2.148 MB / 334.1 MB make -j1 -f ExternData_ExternData.Examples.INITest.makefile (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & ./ExternData_ExternData.Examples.INITest -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.INITest.pipe 2>&1)