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.005309/0.005309, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001287/0.001287, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.304/1.304, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1124/0.1124, allocations: 2.935 MB / 293.6 MB, free: 3.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 354.7 MB, free: 4.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07847/0.07976, allocations: 50.33 MB / 405 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002746/0.08253, allocations: 1.614 MB / 406.6 MB, free: 192 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.08392, allocations: 0.9959 MB / 407.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.615e-05/0.08398, allocations: 4 kB / 407.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.08419, allocations: 19.94 kB / 407.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.08449, allocations: 87.72 kB / 407.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.399e-05/0.08452, allocations: 4 kB / 407.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.08459, allocations: 27.92 kB / 407.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.08469, allocations: 12 kB / 407.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.08474, allocations: 11.92 kB / 407.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.08486, allocations: 27.84 kB / 407.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.08488, allocations: 4 kB / 407.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.08507, allocations: 107.9 kB / 407.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.08509, allocations: 3.938 kB / 407.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.08513, allocations: 11.94 kB / 407.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.08531, allocations: 92.09 kB / 408 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.08532, allocations: 0 / 408 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.08533, allocations: 0 / 408 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.08534, allocations: 4 kB / 408 MB, free: 14.77 MB / 350.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.0004515/0.0858, allocations: 389.3 kB / 408.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.08584, allocations: 12.03 kB / 408.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.08588, allocations: 8.875 kB / 408.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.08605, allocations: 180.2 kB / 408.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.08606, allocations: 384 / 408.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.08608, allocations: 4.375 kB / 408.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.0862, allocations: 49.81 kB / 408.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.08621, allocations: 0 / 408.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.08623, allocations: 0 / 408.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.08624, allocations: 4 kB / 408.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.08633, allocations: 23.98 kB / 408.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.08665, allocations: 268.8 kB / 408.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.08684, allocations: 50.61 kB / 409 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.0869, allocations: 8.859 kB / 409 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.08692, allocations: 4 kB / 409 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.08694, allocations: 38.56 kB / 409 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.08695, allocations: 0 / 409 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002138/0.08717, allocations: 65.61 kB / 409.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.08721, allocations: 55.41 kB / 409.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.08731, allocations: 113.8 kB / 409.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.08733, allocations: 25.7 kB / 409.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.08737, allocations: 96.12 kB / 409.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.08739, allocations: 3.906 kB / 409.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.08744, allocations: 17.72 kB / 409.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.08755, allocations: 318.8 kB / 409.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.0876, allocations: 12 kB / 409.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.08764, allocations: 11.98 kB / 409.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.08772, allocations: 32.78 kB / 409.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.08773, allocations: 4 kB / 409.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001156/0.08785, allocations: 53.92 kB / 409.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.08787, allocations: 8 kB / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.08788, allocations: 0 / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.0879, allocations: 3.938 kB / 409.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.08795, allocations: 7.984 kB / 409.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.08796, allocations: 384 / 409.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.088, allocations: 7.938 kB / 409.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.08801, allocations: 0 / 409.8 MB, free: 12.71 MB / 350.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.74e-05/0.08808, allocations: 121.8 kB / 410 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.08812, allocations: 11.83 kB / 410 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.08815, allocations: 7.906 kB / 410 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.08816, allocations: 7.922 kB / 410 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.08817, allocations: 0 / 410 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.08817, allocations: 0 / 410 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.08834, allocations: 169.6 kB / 410.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.08835, allocations: 0 / 410.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.08839, allocations: 4 kB / 410.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.0884, allocations: 4 kB / 410.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.08841, allocations: 4 kB / 410.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.08842, allocations: 0 / 410.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.08842, allocations: 0 / 410.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.08859, allocations: 155.5 kB / 410.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.08864, allocations: 81.02 kB / 410.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.08866, allocations: 0 / 410.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.08873, allocations: 7.984 kB / 410.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.08876, allocations: 8 kB / 410.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.08877, allocations: 0 / 410.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.08884, allocations: 95.2 kB / 410.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08885, allocations: 4 kB / 410.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.08912, allocations: 32 kB / 410.5 MB, free: 11.91 MB / 350.1 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 (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 Backend phase and start with SimCode phase: time 0.0006354/0.08976, allocations: 335.3 kB / 410.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.0899, allocations: 27.92 kB / 410.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.08991, allocations: 0 / 410.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.08996, allocations: 15.98 kB / 410.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.09024, allocations: 4 kB / 410.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.09055, allocations: 181.6 kB / 411.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.09079, allocations: 0.6848 MB / 411.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.09082, allocations: 11.44 kB / 411.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09083, allocations: 0 / 411.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Templates: time 0.003042/0.09388, allocations: 1.607 MB / 413.4 MB, free: 9.07 MB / 350.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)