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.00523/0.005229, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001183/0.001183, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002468/0.002468, allocations: 0.5622 MB / 291.1 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.91 kB / 401.9 MB, free: 32.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07484/0.07603, allocations: 49.6 MB / 451.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.002798/0.07888, allocations: 1.645 MB / 453.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.07919, allocations: 103.6 kB / 453.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.07927, allocations: 0 / 453.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.472e-05/0.07933, allocations: 15.86 kB / 453.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.07946, allocations: 31.7 kB / 453.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.0796, allocations: 19.97 kB / 453.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.07973, allocations: 103.5 kB / 453.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.07987, allocations: 43.95 kB / 453.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.07995, allocations: 47.73 kB / 453.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.08004, allocations: 43.78 kB / 453.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.08007, allocations: 8 kB / 453.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.08009, allocations: 12 kB / 453.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.08012, allocations: 19.92 kB / 453.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.08019, allocations: 55.78 kB / 453.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.08033, allocations: 99.05 kB / 453.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.08034, allocations: 4 kB / 453.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08034, allocations: 0 / 453.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.08035, allocations: 0 / 453.8 MB, free: 12.75 MB / 334.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.0004848/0.08084, allocations: 399.6 kB / 454.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.08089, allocations: 11.89 kB / 454.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.08094, allocations: 46.73 kB / 454.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.08098, allocations: 12.75 kB / 454.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.08115, allocations: 188.2 kB / 454.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.08117, allocations: 12.56 kB / 454.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.08121, allocations: 16.36 kB / 454.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.08138, allocations: 88.05 kB / 454.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.0814, allocations: 3.906 kB / 454.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.08142, allocations: 7.984 kB / 454.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.08143, allocations: 4 kB / 454.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.08155, allocations: 59.91 kB / 454.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.08209, allocations: 380.7 kB / 455 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.08227, allocations: 102.4 kB / 455.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.722e-05/0.08233, allocations: 32.86 kB / 455.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.08235, allocations: 7.984 kB / 455.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.08238, allocations: 34.56 kB / 455.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.08239, allocations: 0 / 455.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001083/0.08347, allocations: 0.6861 MB / 455.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.08353, allocations: 55.62 kB / 455.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.08363, allocations: 126.2 kB / 456 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.08365, allocations: 25.7 kB / 456 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.08373, allocations: 108.2 kB / 456.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.08378, allocations: 55.2 kB / 456.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.08384, allocations: 41.64 kB / 456.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.08396, allocations: 322.8 kB / 456.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.08403, allocations: 35.98 kB / 456.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.0841, allocations: 58.52 kB / 456.6 MB, free: 9.543 MB / 334.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.00073/0.08484, allocations: 421 kB / 457 MB, free: 9.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.08485, allocations: 3.938 kB / 457.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002468/0.08511, allocations: 162.4 kB / 457.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.08513, allocations: 8 kB / 457.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.08514, allocations: 0 / 457.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.08526, allocations: 28.84 kB / 457.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.08536, allocations: 27.92 kB / 457.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.08651, allocations: 1.615 MB / 458.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.08658, allocations: 0 / 458.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.08659, allocations: 8.266 kB / 458.9 MB, free: 7.082 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.0001056/0.0867, allocations: 145.8 kB / 459 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.08674, allocations: 11.91 kB / 459.1 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.784e-05/0.08678, allocations: 12.84 kB / 459.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.08679, allocations: 0 / 459.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.0868, allocations: 4 kB / 459.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.08681, allocations: 4.125 kB / 459.1 MB, free: 6.902 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.0006327/0.08745, allocations: 0.6091 MB / 459.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.08746, allocations: 0 / 459.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.08758, allocations: 24 kB / 459.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.614e-05/0.08766, allocations: 16.84 kB / 459.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.08769, allocations: 8 kB / 459.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008585/0.08856, allocations: 1.367 MB / 461.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.08857, allocations: 3.938 kB / 461.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.08888, allocations: 309.5 kB / 461.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.08894, allocations: 85.05 kB / 461.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.08896, allocations: 7.938 kB / 461.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.08904, allocations: 4 kB / 461.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.08908, allocations: 19.98 kB / 461.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.08909, allocations: 8 kB / 461.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.719e-05/0.08914, allocations: 95.31 kB / 461.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08915, allocations: 0 / 461.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.08945, allocations: 32 kB / 461.6 MB, free: 4.051 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.000556/0.09001, allocations: 0.832 MB / 462.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.09039, allocations: 230.6 kB / 462.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.0904, allocations: 0 / 462.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.09058, allocations: 166.6 kB / 462.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.09093, allocations: 20.92 kB / 462.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.09269, allocations: 1.856 MB / 464.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.09297, allocations: 0.7046 MB / 465.4 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.09302, allocations: 13.09 kB / 465.5 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.0931, allocations: 35.42 kB / 465.5 MB, free: 16 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.0931, allocations: 0 / 465.5 MB, free: 16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.115, allocations: 3.085 MB / 468.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.554/8.669, allocations: 11.48 kB / 468.6 MB, free: 13.15 MB / 350.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)