Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.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.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial",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.005073/0.005074, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001144/0.001145, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.002863/0.002863, allocations: 0.5663 MB / 291.1 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1673/0.1673, allocations: 62.5 kB / 401.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.2731, allocations: 49.59 MB / 451.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002893/0.276, allocations: 1.663 MB / 453.2 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000318/0.2763, allocations: 95.61 kB / 453.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.2764, allocations: 4 kB / 453.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.864e-05/0.2765, allocations: 11.86 kB / 453.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.2766, allocations: 35.7 kB / 453.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2768, allocations: 23.97 kB / 453.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.2769, allocations: 103.5 kB / 453.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.2771, allocations: 43.95 kB / 453.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.2771, allocations: 31.92 kB / 453.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.2772, allocations: 47.78 kB / 453.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.2773, allocations: 12 kB / 453.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.2773, allocations: 8 kB / 453.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.2773, allocations: 19.92 kB / 453.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.2774, allocations: 51.78 kB / 453.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2775, allocations: 105.9 kB / 453.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2776, allocations: 0 / 453.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2776, allocations: 0 / 453.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2776, allocations: 3.938 kB / 453.7 MB, free: 3.676 MB / 318.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.0005201/0.2781, allocations: 403.4 kB / 454.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2781, allocations: 12.03 kB / 454.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.2782, allocations: 38.73 kB / 454.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.2782, allocations: 16.75 kB / 454.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2785, allocations: 188.3 kB / 454.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2785, allocations: 8.562 kB / 454.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.2785, allocations: 4.375 kB / 454.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.2787, allocations: 98.66 kB / 454.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2787, allocations: 7.906 kB / 454.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.2787, allocations: 8 kB / 454.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.2788, allocations: 4 kB / 454.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.2789, allocations: 55.95 kB / 454.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.2794, allocations: 380.7 kB / 454.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.2796, allocations: 98.48 kB / 455 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.2796, allocations: 40.86 kB / 455.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.2797, allocations: 0 / 455.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2797, allocations: 42.48 kB / 455.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2797, allocations: 0 / 455.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001197/0.2809, allocations: 0.6853 MB / 455.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.281, allocations: 55.41 kB / 455.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.2811, allocations: 118.9 kB / 456 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.2811, allocations: 25.7 kB / 456 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.2812, allocations: 108.2 kB / 456.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.2812, allocations: 55.2 kB / 456.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.2813, allocations: 33.7 kB / 456.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2814, allocations: 318.8 kB / 456.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.2815, allocations: 35.98 kB / 456.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.2816, allocations: 66.5 kB / 456.6 MB, free: 496 kB / 318.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.0008065/0.2824, allocations: 417.8 kB / 457 MB, free: 36 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2824, allocations: 3.938 kB / 457 MB, free: 32 kB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002847/0.2827, allocations: 166.4 kB / 457.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2827, allocations: 4 kB / 457.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2827, allocations: 0 / 457.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.2829, allocations: 28.84 kB / 457.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.283, allocations: 32.27 kB / 457.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.2843, allocations: 1.615 MB / 458.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.679e-05/0.2844, allocations: 8.031 kB / 458.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2844, allocations: 7.938 kB / 458.9 MB, free: 14.01 MB / 334.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 0.0001441/0.2846, allocations: 133.7 kB / 459 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.2846, allocations: 11.91 kB / 459 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.2847, allocations: 12.84 kB / 459 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2847, allocations: 7.938 kB / 459 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2847, allocations: 4.062 kB / 459 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2847, allocations: 0 / 459 MB, free: 13.84 MB / 334.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.0006666/0.2854, allocations: 0.5862 MB / 459.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2854, allocations: 0 / 459.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.2855, allocations: 35.92 kB / 459.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.972e-05/0.2856, allocations: 20.94 kB / 459.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2856, allocations: 4 kB / 459.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.2867, allocations: 1.367 MB / 461.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2867, allocations: 7.938 kB / 461.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.287, allocations: 306.7 kB / 461.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.2871, allocations: 85.05 kB / 461.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.2871, allocations: 3.938 kB / 461.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.2872, allocations: 8 kB / 461.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.2872, allocations: 7.984 kB / 461.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.2873, allocations: 8 kB / 461.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.189e-05/0.2873, allocations: 95.7 kB / 461.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2873, allocations: 4.062 kB / 461.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.2876, allocations: 28 kB / 461.6 MB, free: 11.01 MB / 334.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.0006819/0.2883, allocations: 0.8394 MB / 462.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.2888, allocations: 230.4 kB / 462.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2888, allocations: 0 / 462.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.289, allocations: 166.4 kB / 462.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.2894, allocations: 35.61 kB / 462.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.2915, allocations: 1.837 MB / 464.7 MB, free: 7.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.2918, allocations: 0.7085 MB / 465.4 MB, free: 7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.2919, allocations: 9.078 kB / 465.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.2919, allocations: 35.42 kB / 465.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2919, allocations: 7.875 kB / 465.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.3177, allocations: 3.073 MB / 468.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.267/9.584, allocations: 14.84 kB / 468.5 MB, free: 4.094 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)