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.0008977/0.0008977, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 184.9 kB / 16.92 MB, free: 6.684 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1204/0.1204, allocations: 2.949 MB / 295 MB, free: 3.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8 kB / 357.1 MB, free: 3.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07928/0.07958, allocations: 51.34 MB / 408.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001702/0.0813, allocations: 1.272 MB / 409.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.08262, allocations: 0.9804 MB / 410.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.08268, allocations: 3.938 kB / 410.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.08285, allocations: 27.86 kB / 410.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.08314, allocations: 87.73 kB / 410.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.489e-05/0.08317, allocations: 3.984 kB / 410.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.08323, allocations: 23.94 kB / 410.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.08331, allocations: 19.97 kB / 410.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.062e-05/0.08336, allocations: 15.94 kB / 410.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.0835, allocations: 11.92 kB / 410.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.08352, allocations: 4 kB / 410.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.0837, allocations: 107.8 kB / 411 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.08373, allocations: 7.938 kB / 411 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.08377, allocations: 45.61 kB / 411.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.08392, allocations: 80.12 kB / 411.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.08393, allocations: 0 / 411.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.08394, allocations: 4 kB / 411.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.08395, allocations: 0 / 411.2 MB, free: 13.26 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.0004277/0.08438, allocations: 379.4 kB / 411.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.08442, allocations: 8.031 kB / 411.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.08445, allocations: 12.78 kB / 411.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.0846, allocations: 180.2 kB / 411.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.08462, allocations: 384 / 411.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.08464, allocations: 8.312 kB / 411.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.08475, allocations: 57.75 kB / 411.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.08477, allocations: 0 / 411.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.08478, allocations: 0 / 411.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.08479, allocations: 3.984 kB / 411.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.926e-05/0.08489, allocations: 23.98 kB / 411.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.08524, allocations: 272.9 kB / 412.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.08542, allocations: 46.56 kB / 412.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.08548, allocations: 20.86 kB / 412.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.0855, allocations: 4.078 kB / 412.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.08553, allocations: 34.56 kB / 412.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.08553, allocations: 0 / 412.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002156/0.08575, allocations: 73.61 kB / 412.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.08579, allocations: 51.41 kB / 412.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.08589, allocations: 117.8 kB / 412.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.08591, allocations: 25.7 kB / 412.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.08596, allocations: 92.05 kB / 412.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.08598, allocations: 7.906 kB / 412.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.08601, allocations: 13.7 kB / 412.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.08614, allocations: 318.8 kB / 412.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.08619, allocations: 8 kB / 412.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.08623, allocations: 15.98 kB / 412.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.08632, allocations: 32.84 kB / 412.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.08633, allocations: 0 / 412.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001298/0.08646, allocations: 61.53 kB / 413 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.08649, allocations: 14.17 kB / 413 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.0865, allocations: 0 / 413 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.08651, allocations: 0 / 413 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.08656, allocations: 8 kB / 413 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.08657, allocations: 384 / 413 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.08661, allocations: 7.938 kB / 413 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.08662, allocations: 4 kB / 413 MB, free: 11.18 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.645e-05/0.08669, allocations: 113.8 kB / 413.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.08673, allocations: 15.92 kB / 413.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.08676, allocations: 7.906 kB / 413.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.08677, allocations: 0 / 413.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.08678, allocations: 3.938 kB / 413.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.08678, allocations: 0 / 413.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.08698, allocations: 169.6 kB / 413.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.08699, allocations: 4 kB / 413.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.08703, allocations: 4 kB / 413.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.08704, allocations: 0 / 413.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.08705, allocations: 4 kB / 413.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/0.08707, allocations: 4 kB / 413.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.08707, allocations: 7.922 kB / 413.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.08723, allocations: 155.7 kB / 413.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.08728, allocations: 89.14 kB / 413.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.0873, allocations: 3.984 kB / 413.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.08737, allocations: 4 kB / 413.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.0874, allocations: 0 / 413.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.08741, allocations: 0 / 413.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.08746, allocations: 91.27 kB / 413.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08747, allocations: 0 / 413.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.08776, allocations: 43.98 kB / 413.7 MB, free: 10.37 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.0006027/0.08837, allocations: 328.1 kB / 414.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.08851, allocations: 35.86 kB / 414.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.08853, allocations: 4 kB / 414.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.08858, allocations: 11.98 kB / 414.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.0889, allocations: 12 kB / 414.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.08919, allocations: 176.3 kB / 414.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.08942, allocations: 0.6848 MB / 415 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.08948, allocations: 15.42 kB / 415 MB, free: 9.129 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.0895, allocations: 0 / 415 MB, free: 9.129 MB / 350.1 MB Notification: Performance of Templates: time 0.003125/0.09263, allocations: 1.59 MB / 416.6 MB, free: 7.539 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)