Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 108 kB / 15.6 MB, free: 132 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.002302/0.002302, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 222.4 MB, free: 4.383 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 51.94 kB / 278.7 MB, free: 12.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2987, allocations: 46.63 MB / 325.3 MB, free: 2.273 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003807/0.3026, allocations: 1.68 MB / 327 MB, free: 0.9414 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3037, allocations: 0.5207 MB / 327.5 MB, free: 0.5273 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3038, allocations: 2.094 kB / 327.5 MB, free: 0.5273 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.304, allocations: 15.86 kB / 327.5 MB, free: 0.5117 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.3042, allocations: 24.27 kB / 327.5 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3045, allocations: 48.78 kB / 327.6 MB, free: 464 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3047, allocations: 100.6 kB / 327.7 MB, free: 404 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.3049, allocations: 34.19 kB / 327.7 MB, free: 384 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3051, allocations: 34.48 kB / 327.8 MB, free: 364 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3053, allocations: 55.09 kB / 327.8 MB, free: 320 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.3053, allocations: 10.56 kB / 327.8 MB, free: 316 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.336e-05/0.3054, allocations: 7.031 kB / 327.8 MB, free: 316 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.3055, allocations: 16.48 kB / 327.8 MB, free: 304 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.3056, allocations: 45.39 kB / 327.9 MB, free: 268 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.3057, allocations: 76.58 kB / 328 MB, free: 212 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3058, allocations: 0 / 328 MB, free: 212 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3058, allocations: 0 / 328 MB, free: 212 kB / 254.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3058, allocations: 1.25 kB / 328 MB, free: 212 kB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008822/0.3067, allocations: 410.4 kB / 328.4 MB, free: 15.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.3068, allocations: 9.781 kB / 328.4 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.3068, allocations: 15.47 kB / 328.4 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3072, allocations: 209.3 kB / 328.6 MB, free: 15.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.3073, allocations: 7.031 kB / 328.6 MB, free: 15.55 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.3074, allocations: 12.31 kB / 328.6 MB, free: 15.54 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.3077, allocations: 71.17 kB / 328.7 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3077, allocations: 0 / 328.7 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3077, allocations: 7.984 kB / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3077, allocations: 5.5 kB / 328.7 MB, free: 15.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3079, allocations: 35.05 kB / 328.7 MB, free: 15.47 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.3088, allocations: 412.2 kB / 329.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.309, allocations: 64.38 kB / 329.2 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.3091, allocations: 29.27 kB / 329.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3091, allocations: 1.406 kB / 329.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3091, allocations: 32.31 kB / 329.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3091, allocations: 0 / 329.3 MB, free: 14.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004599/0.3096, allocations: 94.36 kB / 329.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3097, allocations: 60.62 kB / 329.4 MB, free: 14.81 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.3099, allocations: 144.8 kB / 329.5 MB, free: 14.69 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3099, allocations: 25.7 kB / 329.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3101, allocations: 109.6 kB / 329.7 MB, free: 14.55 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.3102, allocations: 21.97 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.3102, allocations: 23.05 kB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.3105, allocations: 321.1 kB / 330 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.3106, allocations: 15 kB / 330 MB, free: 14.18 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.3107, allocations: 27.17 kB / 330.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.3108, allocations: 45.12 kB / 330.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3109, allocations: 256 / 330.1 MB, free: 14.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002816/0.3111, allocations: 106.2 kB / 330.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3112, allocations: 6.25 kB / 330.2 MB, free: 14.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3112, allocations: 4 kB / 330.2 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3112, allocations: 0 / 330.2 MB, free: 14.06 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.3116, allocations: 37.09 kB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3116, allocations: 5.094 kB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.3117, allocations: 6.25 kB / 330.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3117, allocations: 1.281 kB / 330.3 MB, free: 14.05 MB / 270.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 (7): * Single equations (assignments): 7 * 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 0.0001235/0.3118, allocations: 122.3 kB / 330.4 MB, free: 13.92 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.3119, allocations: 11.62 kB / 330.4 MB, free: 13.91 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.312, allocations: 11 kB / 330.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.312, allocations: 1 kB / 330.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.312, allocations: 0 / 330.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.312, allocations: 4 kB / 330.4 MB, free: 13.89 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.3123, allocations: 197.5 kB / 330.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3124, allocations: 1.094 kB / 330.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.3126, allocations: 27.34 kB / 330.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3126, allocations: 1.094 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3126, allocations: 5.25 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3126, allocations: 0 / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3126, allocations: 1.156 kB / 330.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.3131, allocations: 203.5 kB / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.3131, allocations: 88.05 kB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3132, allocations: 5.375 kB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3133, allocations: 1.031 kB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.3134, allocations: 6.297 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3134, allocations: 1.188 kB / 331 MB, free: 13.38 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.3135, allocations: 109 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3135, allocations: 1.062 kB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.3139, allocations: 23.25 kB / 331.1 MB, free: 13.27 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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.000143/0.314, allocations: 92.53 kB / 331.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3143, allocations: 49.02 kB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3143, allocations: 0 / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3144, allocations: 22.45 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.315, allocations: 33.17 kB / 331.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/0.3159, allocations: 266.4 kB / 331.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3163, allocations: 0.7082 MB / 332.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.3164, allocations: 12.14 kB / 332.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.3164, allocations: 10.34 kB / 332.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3164, allocations: 0 / 332.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of Templates: time 0.004896/0.3213, allocations: 0.8925 MB / 333.2 MB, free: 11.75 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)