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-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.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.001019/0.001019, allocations: 100.2 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.001235/0.001235, allocations: 177.3 kB / 15.94 MB, free: 228 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.53/1.53, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003635/0.003634, allocations: 0.5546 MB / 291.5 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004973, allocations: 8 kB / 352.7 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1399, allocations: 50.57 MB / 403.2 MB, free: 128 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.2248/0.3647, allocations: 1.283 MB / 404.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002825/0.3651, allocations: 102.7 kB / 404.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.3651, allocations: 5.281 kB / 404.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.3652, allocations: 9.484 kB / 404.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.3653, allocations: 31.33 kB / 404.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.3654, allocations: 18.11 kB / 404.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3656, allocations: 74.81 kB / 404.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3657, allocations: 28.86 kB / 404.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.3658, allocations: 38.89 kB / 404.8 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.3659, allocations: 37.02 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3659, allocations: 5.469 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.066e-05/0.3659, allocations: 4.375 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.366, allocations: 17.56 kB / 404.9 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.366, allocations: 47.33 kB / 404.9 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3662, allocations: 79.53 kB / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3662, allocations: 0.5312 kB / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3662, allocations: 0 / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3662, allocations: 0.5312 kB / 405 MB, free: 9.711 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.0004314/0.3666, allocations: 377.8 kB / 405.4 MB, free: 9.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3667, allocations: 9.844 kB / 405.4 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.3668, allocations: 49.48 kB / 405.4 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.3668, allocations: 10.03 kB / 405.5 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.367, allocations: 188.8 kB / 405.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.367, allocations: 7.969 kB / 405.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.367, allocations: 9.906 kB / 405.7 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3672, allocations: 91.77 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3672, allocations: 1.406 kB / 405.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.3673, allocations: 3.781 kB / 405.8 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.3673, allocations: 6.141 kB / 405.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.3674, allocations: 57.7 kB / 405.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.368, allocations: 395.4 kB / 406.2 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3682, allocations: 103.2 kB / 406.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.3682, allocations: 1.125 kB / 406.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3682, allocations: 36.27 kB / 406.3 MB, free: 8.648 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3683, allocations: 0 / 406.3 MB, free: 8.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001054/0.3693, allocations: 0.6819 MB / 407 MB, free: 8.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.3694, allocations: 54.16 kB / 407.1 MB, free: 8.008 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.3694, allocations: 123.1 kB / 407.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.3695, allocations: 30.64 kB / 407.2 MB, free: 7.863 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.3695, allocations: 96.5 kB / 407.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.3696, allocations: 60.45 kB / 407.4 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.3696, allocations: 4 kB / 407.4 MB, free: 7.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.3696, allocations: 321.3 kB / 407.7 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.979e-05/0.3697, allocations: 33.92 kB / 407.7 MB, free: 7.391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.3698, allocations: 66.36 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.0005839/0.3704, allocations: 315 kB / 408.1 MB, free: 7.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3704, allocations: 7.938 kB / 408.1 MB, free: 7.109 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002509/0.3706, allocations: 165.8 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3707, allocations: 5.188 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.3707, allocations: 2.438 kB / 408.3 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.3708, allocations: 30.56 kB / 408.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3709, allocations: 31.92 kB / 408.3 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009178/0.3719, allocations: 1.449 MB / 409.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.3719, allocations: 4.859 kB / 409.8 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3719, allocations: 4.938 kB / 409.8 MB, free: 5.555 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 0.0001037/0.372, allocations: 139.7 kB / 409.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3721, allocations: 13.22 kB / 409.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.3721, allocations: 15.48 kB / 410 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3721, allocations: 2.109 kB / 410 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3721, allocations: 5.156 kB / 410 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3722, allocations: 2.438 kB / 410 MB, free: 5.391 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.0006266/0.3728, allocations: 0.5854 MB / 410.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3728, allocations: 5.266 kB / 410.6 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3729, allocations: 28.73 kB / 410.6 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.539e-05/0.373, allocations: 15.95 kB / 410.6 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.373, allocations: 14.66 kB / 410.6 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005955/0.3736, allocations: 1.273 MB / 411.9 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3737, allocations: 9.312 kB / 411.9 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.374, allocations: 336.4 kB / 412.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.374, allocations: 89.06 kB / 412.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3741, allocations: 3.078 kB / 412.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-05/0.3741, allocations: 9.531 kB / 412.3 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.3742, allocations: 13.94 kB / 412.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3742, allocations: 7.312 kB / 412.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.3742, allocations: 96.89 kB / 412.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3742, allocations: 0 / 412.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000297/0.3745, allocations: 33.16 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.0004969/0.375, allocations: 1.07 MB / 413.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004054/0.3755, allocations: 221 kB / 413.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3755, allocations: 0 / 413.8 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.3757, allocations: 170.4 kB / 413.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3759, allocations: 16.88 kB / 413.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3773, allocations: 1.233 MB / 415.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.3775, allocations: 0.7127 MB / 415.9 MB, free: 44 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.58e-05/0.3776, allocations: 13.19 kB / 415.9 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.3777, allocations: 26.95 kB / 415.9 MB, free: 20 kB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3777, allocations: 1.219 kB / 415.9 MB, free: 20 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.3949, allocations: 2.628 MB / 418.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000459/0.3954, allocations: 256 kB / 418.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.207, allocations: 0 / 418.8 MB, free: 15.48 MB / 302.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/linux/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)