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+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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.001299/0.001299, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001488/0.001488, allocations: 187.8 kB / 16.25 MB, free: 6.148 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.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003292/0.003292, allocations: 0.5662 MB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.89 kB / 351.2 MB, free: 2.578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 49.61 MB / 400.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.1764/0.278, allocations: 1.701 MB / 402.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002693/0.2783, allocations: 91.67 kB / 402.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.2783, allocations: 6.031 kB / 402.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.088e-05/0.2784, allocations: 10.06 kB / 402.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2786, allocations: 27.52 kB / 402.6 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.2787, allocations: 16.69 kB / 402.6 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2788, allocations: 111.2 kB / 402.7 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.279, allocations: 39.97 kB / 402.8 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.2791, allocations: 34.73 kB / 402.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.2792, allocations: 44.8 kB / 402.8 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.2792, allocations: 7.938 kB / 402.8 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.2792, allocations: 8.969 kB / 402.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.2793, allocations: 24.23 kB / 402.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.2793, allocations: 56.66 kB / 402.9 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.2795, allocations: 100.1 kB / 403 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2795, allocations: 0.5625 kB / 403 MB, free: 9.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.2795, allocations: 0 / 403 MB, free: 9.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2795, allocations: 0.5625 kB / 403 MB, free: 9.84 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.0004691/0.28, allocations: 395.2 kB / 403.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2801, allocations: 17.64 kB / 403.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.2801, allocations: 43.19 kB / 403.5 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2802, allocations: 15.72 kB / 403.5 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.2803, allocations: 190.3 kB / 403.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2803, allocations: 10.25 kB / 403.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.2804, allocations: 14.28 kB / 403.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.2806, allocations: 102.8 kB / 403.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2806, allocations: 1 kB / 403.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2806, allocations: 0.6875 kB / 403.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2806, allocations: 7.609 kB / 403.8 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.2807, allocations: 57.59 kB / 403.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.2812, allocations: 386.4 kB / 404.2 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.2814, allocations: 103.6 kB / 404.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.2815, allocations: 32.62 kB / 404.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.2815, allocations: 7.688 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2815, allocations: 36.7 kB / 404.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.2815, allocations: 0 / 404.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009742/0.2825, allocations: 0.6884 MB / 405.1 MB, free: 8.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.2825, allocations: 54.59 kB / 405.2 MB, free: 8.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.2826, allocations: 122.7 kB / 405.3 MB, free: 8.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2826, allocations: 30.95 kB / 405.3 MB, free: 8.102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.2827, allocations: 98.95 kB / 405.4 MB, free: 8.008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.2827, allocations: 62.88 kB / 405.5 MB, free: 7.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2828, allocations: 34.59 kB / 405.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.2828, allocations: 320.1 kB / 405.8 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.2829, allocations: 34.77 kB / 405.9 MB, free: 7.602 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/0.283, allocations: 67.84 kB / 405.9 MB, free: 7.559 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: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.2837, allocations: 411.2 kB / 406.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2837, allocations: 3.938 kB / 406.3 MB, free: 7.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002308/0.2839, allocations: 166.7 kB / 406.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.284, allocations: 9.781 kB / 406.5 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.284, allocations: 1.156 kB / 406.5 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001224/0.2841, allocations: 27.27 kB / 406.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.2842, allocations: 23.55 kB / 406.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008959/0.2851, allocations: 1.621 MB / 408.2 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.2852, allocations: 6.156 kB / 408.2 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.2852, allocations: 8.516 kB / 408.2 MB, free: 5.535 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 system: mass1.v = $START.mass1.v mass2.s = $START.mass2.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/0.2853, allocations: 134.7 kB / 408.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.2853, allocations: 10.19 kB / 408.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.2854, allocations: 15.39 kB / 408.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2854, allocations: 2.094 kB / 408.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2854, allocations: 1.344 kB / 408.3 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2854, allocations: 4.797 kB / 408.3 MB, free: 5.379 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.0005295/0.2859, allocations: 0.5959 MB / 408.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2859, allocations: 1.188 kB / 408.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.286, allocations: 28.83 kB / 409 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.793e-05/0.2861, allocations: 22.53 kB / 409 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2861, allocations: 2.062 kB / 409 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005688/0.2867, allocations: 1.37 MB / 410.4 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.2867, allocations: 5.906 kB / 410.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.287, allocations: 300.7 kB / 410.7 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.287, allocations: 85.33 kB / 410.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2871, allocations: 12.3 kB / 410.8 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.2871, allocations: 1.219 kB / 410.8 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.2872, allocations: 16.2 kB / 410.8 MB, free: 3.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.2872, allocations: 10.27 kB / 410.8 MB, free: 3.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.385e-05/0.2872, allocations: 92.06 kB / 410.9 MB, free: 2.984 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2872, allocations: 0 / 410.9 MB, free: 2.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.2875, allocations: 34.84 kB / 410.9 MB, free: 2.977 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004219/0.288, allocations: 0.8357 MB / 411.7 MB, free: 2.215 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.2883, allocations: 236.7 kB / 412 MB, free: 2.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2884, allocations: 1.812 kB / 412 MB, free: 2.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.2885, allocations: 165.3 kB / 412.1 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.2888, allocations: 27.42 kB / 412.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2904, allocations: 1.885 MB / 414.1 MB, free: 304 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2907, allocations: 0.7054 MB / 414.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.2907, allocations: 13.7 kB / 414.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.2908, allocations: 28.06 kB / 414.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2908, allocations: 0 / 414.8 MB, free: 15.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3116, allocations: 2.915 MB / 417.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.3119, allocations: 299.5 kB / 418 MB, free: 14.88 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.141, allocations: 0 / 418 MB, free: 14.88 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/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)