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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.007208/0.007208, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001422/0.001422, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1691/0.1691, allocations: 2.926 MB / 293.5 MB, free: 3.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 67.89 kB / 406.3 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3636, allocations: 50.33 MB / 456.6 MB, free: 28.31 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.00262/0.3662, allocations: 1.547 MB / 458.1 MB, free: 27.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3675, allocations: 1.026 MB / 459.2 MB, free: 26.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.3676, allocations: 0 / 459.2 MB, free: 26.52 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.0002709/0.3678, allocations: 21.33 kB / 459.2 MB, free: 26.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.3682, allocations: 102.4 kB / 459.3 MB, free: 26.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.963e-05/0.3682, allocations: 7.469 kB / 459.3 MB, free: 26.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.3683, allocations: 35.94 kB / 459.3 MB, free: 26.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3684, allocations: 13.66 kB / 459.3 MB, free: 26.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.3684, allocations: 22 kB / 459.4 MB, free: 26.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.3686, allocations: 21.52 kB / 459.4 MB, free: 26.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3686, allocations: 3.094 kB / 459.4 MB, free: 26.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3688, allocations: 108.4 kB / 459.5 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3688, allocations: 6.344 kB / 459.5 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.3689, allocations: 22.69 kB / 459.5 MB, free: 26.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.3691, allocations: 122 kB / 459.6 MB, free: 26.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3691, allocations: 0 / 459.6 MB, free: 26.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3691, allocations: 0 / 459.6 MB, free: 26.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3691, allocations: 0 / 459.6 MB, free: 26.31 MB / 366.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.0004451/0.3695, allocations: 382.4 kB / 460 MB, free: 25.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3696, allocations: 15.48 kB / 460 MB, free: 25.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3696, allocations: 4.844 kB / 460 MB, free: 25.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.3698, allocations: 183.1 kB / 460.2 MB, free: 25.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3698, allocations: 7.906 kB / 460.2 MB, free: 25.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.3699, allocations: 384 / 460.2 MB, free: 25.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.37, allocations: 50.61 kB / 460.3 MB, free: 25.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.37, allocations: 0 / 460.3 MB, free: 25.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.37, allocations: 4 kB / 460.3 MB, free: 25.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.37, allocations: 4 kB / 460.3 MB, free: 25.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.3701, allocations: 20.25 kB / 460.3 MB, free: 25.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.3704, allocations: 266.3 kB / 460.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3706, allocations: 53.12 kB / 460.6 MB, free: 25.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.3706, allocations: 15.42 kB / 460.6 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3707, allocations: 0 / 460.6 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.3707, allocations: 37.39 kB / 460.7 MB, free: 25.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3707, allocations: 0 / 460.7 MB, free: 25.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002107/0.3709, allocations: 66.83 kB / 460.7 MB, free: 25.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.3709, allocations: 55.34 kB / 460.8 MB, free: 25.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.371, allocations: 122.2 kB / 460.9 MB, free: 25.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.371, allocations: 29.7 kB / 460.9 MB, free: 25.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.3711, allocations: 90.61 kB / 461 MB, free: 24.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.3711, allocations: 3.906 kB / 461 MB, free: 24.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.3711, allocations: 16.84 kB / 461 MB, free: 24.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.3712, allocations: 321.8 kB / 461.4 MB, free: 24.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.3712, allocations: 7.344 kB / 461.4 MB, free: 24.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.3713, allocations: 9.531 kB / 461.4 MB, free: 24.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.299e-05/0.3713, allocations: 29.78 kB / 461.4 MB, free: 24.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3713, allocations: 0 / 461.4 MB, free: 24.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.975e-05/0.3714, allocations: 66.72 kB / 461.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3715, allocations: 6.188 kB / 461.5 MB, free: 24.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3715, allocations: 3.938 kB / 461.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3715, allocations: 0 / 461.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.3715, allocations: 9.281 kB / 461.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3715, allocations: 0 / 461.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.3716, allocations: 6.844 kB / 461.5 MB, free: 24.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3716, allocations: 0 / 461.5 MB, free: 24.53 MB / 366.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 5.785e-05/0.3717, allocations: 121.7 kB / 461.6 MB, free: 24.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.3717, allocations: 3.562 kB / 461.6 MB, free: 24.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.3717, allocations: 3.906 kB / 461.6 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3717, allocations: 3.375 kB / 461.6 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3717, allocations: 0 / 461.6 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3717, allocations: 0 / 461.6 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.3719, allocations: 173.8 kB / 461.8 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3719, allocations: 0 / 461.8 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.473e-05/0.3719, allocations: 6.312 kB / 461.8 MB, free: 24.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.3719, allocations: 4 kB / 461.8 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3719, allocations: 3.375 kB / 461.8 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3719, allocations: 4 kB / 461.8 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3719, allocations: 0 / 461.8 MB, free: 24.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.3721, allocations: 157.6 kB / 462 MB, free: 24.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.3721, allocations: 80.27 kB / 462 MB, free: 23.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3721, allocations: 0 / 462 MB, free: 23.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.437e-05/0.3722, allocations: 10.48 kB / 462 MB, free: 23.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3722, allocations: 3.938 kB / 462 MB, free: 23.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.3722, allocations: 0 / 462 MB, free: 23.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.162e-05/0.3723, allocations: 95.91 kB / 462.1 MB, free: 23.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3723, allocations: 0 / 462.1 MB, free: 23.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3725, allocations: 44.12 kB / 462.2 MB, free: 23.84 MB / 366.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.0006418/0.3732, allocations: 320.1 kB / 462.5 MB, free: 23.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.3733, allocations: 38.7 kB / 462.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3733, allocations: 0 / 462.5 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.3734, allocations: 16.84 kB / 462.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.3737, allocations: 3.281 kB / 462.6 MB, free: 23.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.3739, allocations: 127.7 kB / 462.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3741, allocations: 0.6861 MB / 463.4 MB, free: 22.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.3741, allocations: 7.453 kB / 463.4 MB, free: 22.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.3741, allocations: 14.11 kB / 463.4 MB, free: 22.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3741, allocations: 0 / 463.4 MB, free: 22.81 MB / 366.1 MB Notification: Performance of Templates: time 0.003576/0.3777, allocations: 1.392 MB / 464.8 MB, free: 22.64 MB / 366.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)