Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",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.001296/0.001296, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001379/0.001379, allocations: 177.3 kB / 15.94 MB, free: 220 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.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003264/0.003264, allocations: 0.5467 MB / 291.5 MB, free: 1.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004328, allocations: 15.98 kB / 352.7 MB, free: 2.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1449, allocations: 50.57 MB / 403.2 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.2382/0.3831, allocations: 1.295 MB / 404.5 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003062/0.3835, allocations: 100.2 kB / 404.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.3835, allocations: 5.812 kB / 404.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.3836, allocations: 11.39 kB / 404.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3837, allocations: 30.98 kB / 404.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.3839, allocations: 22.77 kB / 404.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.384, allocations: 70.42 kB / 404.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3842, allocations: 34.48 kB / 404.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.3842, allocations: 30.66 kB / 404.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.3843, allocations: 40.55 kB / 404.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.3844, allocations: 4.625 kB / 404.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.319e-05/0.3844, allocations: 4.969 kB / 404.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.3844, allocations: 11.95 kB / 404.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.3845, allocations: 48.81 kB / 404.9 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3846, allocations: 79.22 kB / 405 MB, free: 9.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.3846, allocations: 0 / 405 MB, free: 9.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3846, allocations: 0 / 405 MB, free: 9.723 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3847, allocations: 1.469 kB / 405 MB, free: 9.723 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.0004458/0.3851, allocations: 377.5 kB / 405.4 MB, free: 9.352 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.3852, allocations: 10.11 kB / 405.4 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.3852, allocations: 52.84 kB / 405.4 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3853, allocations: 12.94 kB / 405.5 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3854, allocations: 185.5 kB / 405.6 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3855, allocations: 6.125 kB / 405.6 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.3855, allocations: 9.688 kB / 405.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.3857, allocations: 96.97 kB / 405.8 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3857, allocations: 1.406 kB / 405.8 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3858, allocations: 3.625 kB / 405.8 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3858, allocations: 7.5 kB / 405.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3859, allocations: 55.44 kB / 405.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3865, allocations: 392 kB / 406.2 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3867, allocations: 105 kB / 406.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.3867, allocations: 1 kB / 406.3 MB, free: 8.703 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.3867, allocations: 35.69 kB / 406.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.3867, allocations: 1.062 kB / 406.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001021/0.3878, allocations: 0.6915 MB / 407 MB, free: 8.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.3878, allocations: 53.56 kB / 407.1 MB, free: 8.012 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.3879, allocations: 127.6 kB / 407.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3879, allocations: 27.2 kB / 407.2 MB, free: 7.867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.388, allocations: 97.23 kB / 407.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.388, allocations: 61.7 kB / 407.4 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.388, allocations: 1.188 kB / 407.4 MB, free: 7.723 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.3881, allocations: 324.2 kB / 407.7 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.3881, allocations: 39.06 kB / 407.7 MB, free: 7.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.3882, allocations: 60.61 kB / 407.8 MB, free: 7.348 MB / 286.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.s = $START.mass1.s ($START.mass2.s + (-0.5) * (mass2.L + mass1.L) = $START.mass1.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.3888, allocations: 310.8 kB / 408.1 MB, free: 7.121 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3888, allocations: 4 kB / 408.1 MB, free: 7.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002499/0.3891, allocations: 169.7 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3891, allocations: 6.094 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3891, allocations: 1.25 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.3892, allocations: 28.94 kB / 408.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3893, allocations: 23.44 kB / 408.3 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009272/0.3903, allocations: 1.451 MB / 409.8 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.3903, allocations: 12.94 kB / 409.8 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3904, allocations: 8.75 kB / 409.8 MB, free: 5.551 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.s = $START.mass1.s. 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 (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.3905, allocations: 131.6 kB / 409.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3905, allocations: 13.53 kB / 410 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.3905, allocations: 17.88 kB / 410 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3906, allocations: 4.688 kB / 410 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3906, allocations: 1.125 kB / 410 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3906, allocations: 0 / 410 MB, free: 5.395 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.3912, allocations: 0.5938 MB / 410.6 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3912, allocations: 5.672 kB / 410.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3913, allocations: 27.94 kB / 410.6 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.581e-05/0.3914, allocations: 20.88 kB / 410.6 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3914, allocations: 6.562 kB / 410.6 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006313/0.392, allocations: 1.272 MB / 411.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.392, allocations: 5.062 kB / 411.9 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3924, allocations: 340.5 kB / 412.2 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.3924, allocations: 86.52 kB / 412.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3924, allocations: 6.25 kB / 412.3 MB, free: 3.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.3925, allocations: 5.172 kB / 412.3 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.3925, allocations: 23.33 kB / 412.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3926, allocations: 3.938 kB / 412.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.3926, allocations: 91.64 kB / 412.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3926, allocations: 0 / 412.5 MB, free: 3.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3929, allocations: 33.06 kB / 412.5 MB, free: 3.035 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.0004548/0.3934, allocations: 1.077 MB / 413.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.3937, allocations: 220.8 kB / 413.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3938, allocations: 0 / 413.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3939, allocations: 169.1 kB / 413.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3942, allocations: 17.42 kB / 414 MB, free: 1.738 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3955, allocations: 1.232 MB / 415.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.3957, allocations: 0.7086 MB / 415.9 MB, free: 44 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.3957, allocations: 13.55 kB / 415.9 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.3958, allocations: 33.06 kB / 415.9 MB, free: 16 kB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3958, allocations: 0 / 415.9 MB, free: 16 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.412, allocations: 2.645 MB / 418.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.4124, allocations: 272.9 kB / 418.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.231, allocations: 0 / 418.9 MB, free: 15.44 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1)