Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.132/1.132, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001515/0.001515, allocations: 110.6 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 16 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07276/0.07311, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.2888, allocations: 71.87 MB / 426.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000143/0.289, allocations: 65.77 kB / 427 MB, free: 17.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005237/0.2942, allocations: 2.169 MB / 429.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2942, allocations: 1.406 kB / 429.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2942, allocations: 8 kB / 429.2 MB, free: 15.76 MB / 314.7 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.0003548/0.2946, allocations: 403 kB / 429.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.2946, allocations: 8.531 kB / 429.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.2947, allocations: 15.59 kB / 429.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.2949, allocations: 210.3 kB / 429.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2949, allocations: 7.125 kB / 429.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.2949, allocations: 7.062 kB / 429.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.2951, allocations: 80.28 kB / 429.9 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2951, allocations: 6.156 kB / 429.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2951, allocations: 0 / 429.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2951, allocations: 0 / 429.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.2953, allocations: 50.23 kB / 429.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.2957, allocations: 408.1 kB / 430.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.2958, allocations: 72.02 kB / 430.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.2959, allocations: 0 / 430.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2959, allocations: 31.41 kB / 430.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.2959, allocations: 4 kB / 430.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000253/0.2962, allocations: 102 kB / 430.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.2962, allocations: 51.41 kB / 430.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.2963, allocations: 131.3 kB / 430.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.2963, allocations: 25.7 kB / 430.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.2963, allocations: 106.2 kB / 430.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2964, allocations: 31.77 kB / 430.9 MB, free: 14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.2964, allocations: 4.953 kB / 430.9 MB, free: 14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.2964, allocations: 321.9 kB / 431.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.2965, allocations: 22.06 kB / 431.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.411e-05/0.2965, allocations: 22.17 kB / 431.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.2966, allocations: 22.55 kB / 431.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2966, allocations: 0 / 431.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001369/0.2967, allocations: 90.22 kB / 431.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2968, allocations: 4 kB / 431.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.2968, allocations: 1.688 kB / 431.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2968, allocations: 0 / 431.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.297, allocations: 48.8 kB / 431.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.297, allocations: 3.984 kB / 431.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.2971, allocations: 4 kB / 431.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.2971, allocations: 4 kB / 431.4 MB, free: 13.49 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/0.2972, allocations: 120.2 kB / 431.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.2972, allocations: 7.906 kB / 431.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.2972, allocations: 15.36 kB / 431.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2972, allocations: 0 / 431.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2972, allocations: 3.953 kB / 431.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2972, allocations: 2.188 kB / 431.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2974, allocations: 197.5 kB / 431.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2974, allocations: 0 / 431.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.2975, allocations: 23.98 kB / 431.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2975, allocations: 4 kB / 431.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2976, allocations: 3.562 kB / 431.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2976, allocations: 0 / 431.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2976, allocations: 0.75 kB / 431.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.2978, allocations: 215.5 kB / 432 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.2978, allocations: 85.05 kB / 432.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2979, allocations: 3.984 kB / 432.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.2979, allocations: 4 kB / 432.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.298, allocations: 3.188 kB / 432.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.298, allocations: 4 kB / 432.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.2981, allocations: 110.4 kB / 432.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2981, allocations: 1.781 kB / 432.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.2983, allocations: 23.95 kB / 432.2 MB, free: 12.66 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.418e-05/0.2984, allocations: 101.5 kB / 432.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.2985, allocations: 46.66 kB / 432.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2985, allocations: 8.156 kB / 432.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-05/0.2986, allocations: 23.48 kB / 432.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2988, allocations: 32.86 kB / 432.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.2993, allocations: 297.4 kB / 432.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2995, allocations: 0.7082 MB / 433.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.2995, allocations: 4 kB / 433.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.2996, allocations: 11.44 kB / 433.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2996, allocations: 0 / 433.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of Templates: time 0.002332/0.3019, allocations: 0.7799 MB / 434.2 MB, free: 10.69 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)