Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.000955/0.0009553, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 240 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003232/0.003232, allocations: 0.5508 MB / 291.6 MB, free: 1.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 4 kB / 352.8 MB, free: 2.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1209, allocations: 50.58 MB / 403.4 MB, free: 172 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.2586/0.3795, allocations: 1.317 MB / 404.7 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.38, allocations: 90.45 kB / 404.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.3801, allocations: 4.719 kB / 404.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.323e-05/0.3801, allocations: 15.11 kB / 404.8 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3803, allocations: 21.06 kB / 404.8 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3804, allocations: 22.8 kB / 404.8 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3807, allocations: 97.2 kB / 404.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.3809, allocations: 31.03 kB / 404.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.381, allocations: 37.89 kB / 405 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3811, allocations: 32.97 kB / 405 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.3811, allocations: 6.625 kB / 405 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.579e-05/0.3812, allocations: 4.844 kB / 405 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.3812, allocations: 20.55 kB / 405 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.3813, allocations: 39.73 kB / 405.1 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.3815, allocations: 84.94 kB / 405.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.3815, allocations: 0.75 kB / 405.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.3815, allocations: 0.9062 kB / 405.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3815, allocations: 0 / 405.2 MB, free: 9.699 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005639/0.3821, allocations: 381.7 kB / 405.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.3822, allocations: 17.41 kB / 405.6 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/0.3822, allocations: 45.14 kB / 405.6 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.3823, allocations: 9.844 kB / 405.6 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3825, allocations: 188.8 kB / 405.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3825, allocations: 6.594 kB / 405.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.3826, allocations: 15.06 kB / 405.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.3829, allocations: 91.12 kB / 405.9 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3829, allocations: 1.438 kB / 405.9 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3829, allocations: 5.328 kB / 405.9 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3829, allocations: 5.234 kB / 405.9 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3831, allocations: 61.5 kB / 406 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.3838, allocations: 390 kB / 406.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.384, allocations: 104.4 kB / 406.5 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.3841, allocations: 37.17 kB / 406.5 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.3841, allocations: 2.031 kB / 406.5 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3842, allocations: 35.81 kB / 406.5 MB, free: 8.633 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.3842, allocations: 0 / 406.5 MB, free: 8.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001193/0.3854, allocations: 0.6819 MB / 407.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3854, allocations: 52.53 kB / 407.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3856, allocations: 121.9 kB / 407.4 MB, free: 7.887 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3856, allocations: 30.83 kB / 407.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.3856, allocations: 94.64 kB / 407.5 MB, free: 7.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.3857, allocations: 58.31 kB / 407.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.3857, allocations: 5.406 kB / 407.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.3858, allocations: 320.7 kB / 407.9 MB, free: 7.391 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.3859, allocations: 36.31 kB / 407.9 MB, free: 7.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.386, allocations: 53.28 kB / 408 MB, free: 7.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.3861, allocations: 44.75 kB / 408 MB, free: 7.316 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3861, allocations: 0 / 408 MB, free: 7.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002416/0.3863, allocations: 143.1 kB / 408.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.3864, allocations: 7.125 kB / 408.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3864, allocations: 1.031 kB / 408.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3864, allocations: 5.094 kB / 408.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.3866, allocations: 35.17 kB / 408.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3866, allocations: 2.312 kB / 408.2 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.3867, allocations: 13 kB / 408.2 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3867, allocations: 4.25 kB / 408.2 MB, free: 7.227 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 19 * 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 8.832e-05/0.3868, allocations: 132.2 kB / 408.4 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.3868, allocations: 17.39 kB / 408.4 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.3869, allocations: 14.67 kB / 408.4 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3869, allocations: 2.766 kB / 408.4 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.3869, allocations: 5.031 kB / 408.4 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.3869, allocations: 1.172 kB / 408.4 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.3875, allocations: 496.8 kB / 408.9 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3876, allocations: 5.5 kB / 408.9 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3877, allocations: 31.36 kB / 408.9 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.3878, allocations: 16.42 kB / 408.9 MB, free: 6.637 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3878, allocations: 5.312 kB / 408.9 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008807/0.3887, allocations: 1.27 MB / 410.2 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3887, allocations: 1.062 kB / 410.2 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.3892, allocations: 307.7 kB / 410.5 MB, free: 5.086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.3893, allocations: 85.52 kB / 410.6 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3893, allocations: 7.859 kB / 410.6 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.3894, allocations: 1.062 kB / 410.6 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.3894, allocations: 22.02 kB / 410.6 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3895, allocations: 5.328 kB / 410.6 MB, free: 4.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.733e-05/0.3895, allocations: 92.58 kB / 410.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3896, allocations: 4.062 kB / 410.7 MB, free: 4.891 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.3899, allocations: 31.62 kB / 410.8 MB, free: 4.883 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * 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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007845/0.3907, allocations: 0.8361 MB / 411.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.391, allocations: 91.83 kB / 411.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.391, allocations: 0 / 411.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.3913, allocations: 166.9 kB / 411.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.3917, allocations: 22.64 kB / 411.9 MB, free: 3.961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3931, allocations: 0.8816 MB / 412.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.3933, allocations: 0.7107 MB / 413.5 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.3934, allocations: 9.984 kB / 413.5 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.3935, allocations: 29.12 kB / 413.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3935, allocations: 0 / 413.5 MB, free: 2.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.4107, allocations: 2.556 MB / 416 MB, free: 2.379 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.4109, allocations: 270.6 kB / 416.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.38, allocations: 4 kB / 416.3 MB, free: 2.016 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)