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.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.001125/0.001131, allocations: 119.1 kB / 16.42 MB, free: 6.496 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.001349/0.001349, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01234/0.01234, allocations: 2.948 MB / 294.2 MB, free: 11.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 71.89 kB / 407 MB, free: 28.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06888/0.07009, allocations: 50.32 MB / 457.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002407/0.07253, allocations: 1.552 MB / 458.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.07378, allocations: 1.016 MB / 459.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.07384, allocations: 0 / 459.8 MB, free: 7.793 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0002029/0.07405, allocations: 27.92 kB / 459.9 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.07433, allocations: 107.5 kB / 460 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.683e-05/0.07437, allocations: 4 kB / 460 MB, free: 7.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.07445, allocations: 31.86 kB / 460 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.07454, allocations: 23.91 kB / 460 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.0746, allocations: 7.938 kB / 460 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.07472, allocations: 23.86 kB / 460.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.07474, allocations: 0 / 460.1 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.07492, allocations: 111.9 kB / 460.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.07494, allocations: 8 kB / 460.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.07498, allocations: 27.84 kB / 460.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.0752, allocations: 127.7 kB / 460.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.07521, allocations: 0 / 460.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.07522, allocations: 0 / 460.3 MB, free: 7.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.07522, allocations: 0 / 460.3 MB, free: 7.301 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.0004129/0.07564, allocations: 367.5 kB / 460.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.07568, allocations: 15.83 kB / 460.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.07572, allocations: 12.83 kB / 460.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.0759, allocations: 184.2 kB / 460.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.07592, allocations: 4.375 kB / 460.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.07593, allocations: 384 / 460.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.07604, allocations: 49.81 kB / 461 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.07605, allocations: 4 kB / 461 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.07607, allocations: 0 / 461 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.07608, allocations: 7.875 kB / 461 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.07616, allocations: 19.98 kB / 461 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.07645, allocations: 264.9 kB / 461.2 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.07663, allocations: 46.62 kB / 461.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.07669, allocations: 24.88 kB / 461.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.07671, allocations: 4 kB / 461.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.07673, allocations: 34.56 kB / 461.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.07674, allocations: 0 / 461.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002039/0.07694, allocations: 69.56 kB / 461.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.07698, allocations: 51.41 kB / 461.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.07707, allocations: 113.8 kB / 461.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.07709, allocations: 25.7 kB / 461.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.07713, allocations: 92.12 kB / 461.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.07715, allocations: 11.84 kB / 461.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.07719, allocations: 17.72 kB / 461.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.0773, allocations: 326.7 kB / 462 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.07734, allocations: 8 kB / 462.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.07738, allocations: 7.984 kB / 462.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.829e-05/0.07745, allocations: 28.84 kB / 462.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.07746, allocations: 0 / 462.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001105/0.07757, allocations: 57.59 kB / 462.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.07759, allocations: 8 kB / 462.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.0776, allocations: 0 / 462.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.07762, allocations: 0 / 462.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.07767, allocations: 12.36 kB / 462.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.07768, allocations: 3.938 kB / 462.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.07771, allocations: 0 / 462.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-06/0.07772, 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.067e-05/0.07779, allocations: 122.4 kB / 462.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.07783, allocations: 4 kB / 462.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.07785, allocations: 7.906 kB / 462.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.07786, allocations: 0 / 462.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.07787, allocations: 3.984 kB / 462.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.07791, allocations: 85.02 kB / 462.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.07794, allocations: 4 kB / 462.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.078, allocations: 11.88 kB / 462.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.07803, allocations: 3.984 kB / 462.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001322/0.07817, allocations: 137 kB / 462.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001656/0.07835, allocations: 226.8 kB / 462.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.551e-05/0.0784, allocations: 15.98 kB / 462.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.07847, allocations: 91.27 kB / 462.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of Backend: time 2.01e-07/0.07847, allocations: 0 / 462.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.07934, allocations: 318.6 kB / 463.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003975/0.07975, allocations: 0.5809 MB / 463.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of Templates: time 0.003628/0.08339, allocations: 1.455 MB / 465.2 MB, free: 2.172 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)