Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",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.0009508/0.0009509, allocations: 99.86 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.001026/0.001026, allocations: 177.3 kB / 15.95 MB, free: 216 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.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.004254/0.004254, allocations: 0.5508 MB / 291.5 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8 kB / 352.7 MB, free: 2.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 50.59 MB / 403.3 MB, free: 132 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.2597/0.3991, allocations: 1.288 MB / 404.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.3995, allocations: 96.53 kB / 404.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.3996, allocations: 1.938 kB / 404.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.3996, allocations: 10.42 kB / 404.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3997, allocations: 40.98 kB / 404.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.3999, allocations: 16.08 kB / 404.7 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4, allocations: 70.47 kB / 404.8 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.4002, allocations: 32.5 kB / 404.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.545e-05/0.4003, allocations: 36.33 kB / 404.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.4004, allocations: 36.47 kB / 404.9 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.4004, allocations: 5.219 kB / 404.9 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.4005, allocations: 4.469 kB / 404.9 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.4005, allocations: 16.69 kB / 404.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.4006, allocations: 44.05 kB / 405 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.4007, allocations: 78.72 kB / 405 MB, free: 9.727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4008, allocations: 0.6875 kB / 405 MB, free: 9.727 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4008, allocations: 1.547 kB / 405 MB, free: 9.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4008, allocations: 3.938 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.0005501/0.4013, allocations: 381.8 kB / 405.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.4014, allocations: 9.656 kB / 405.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.4015, allocations: 45.75 kB / 405.5 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.4015, allocations: 9.094 kB / 405.5 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.4017, allocations: 190.2 kB / 405.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.4017, allocations: 6.406 kB / 405.7 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.4018, allocations: 13.88 kB / 405.7 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.402, allocations: 93.67 kB / 405.8 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.402, allocations: 2.312 kB / 405.8 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4021, allocations: 7.438 kB / 405.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.4021, allocations: 7.141 kB / 405.8 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.4023, allocations: 58.06 kB / 405.8 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.4029, allocations: 394.9 kB / 406.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.4031, allocations: 98.2 kB / 406.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4031, allocations: 1.25 kB / 406.3 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.4031, allocations: 31.69 kB / 406.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.4031, allocations: 1.031 kB / 406.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001138/0.4043, allocations: 0.6872 MB / 407 MB, free: 8.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.4043, allocations: 54.33 kB / 407.1 MB, free: 8.012 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4044, allocations: 124.1 kB / 407.2 MB, free: 7.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4044, allocations: 27.23 kB / 407.2 MB, free: 7.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.4045, allocations: 98.86 kB / 407.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.4046, allocations: 64.11 kB / 407.4 MB, free: 7.723 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.4046, allocations: 5.062 kB / 407.4 MB, free: 7.719 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.4046, allocations: 325.7 kB / 407.7 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.4047, allocations: 33.81 kB / 407.8 MB, free: 7.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.4048, allocations: 56.23 kB / 407.8 MB, free: 7.352 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.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.4053, allocations: 272.2 kB / 408.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4053, allocations: 0 / 408.1 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002185/0.4055, allocations: 137.6 kB / 408.2 MB, free: 7.055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4056, allocations: 5.312 kB / 408.2 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4056, allocations: 5.719 kB / 408.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.4056, allocations: 1.281 kB / 408.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.4058, allocations: 43.02 kB / 408.3 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4058, allocations: 5.094 kB / 408.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.4059, allocations: 1.781 kB / 408.3 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.4059, allocations: 8.188 kB / 408.3 MB, free: 7.035 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.a = $START.mass1.a. 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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.572e-05/0.406, allocations: 127.5 kB / 408.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.4061, allocations: 9.062 kB / 408.4 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.4061, allocations: 23.41 kB / 408.4 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4061, allocations: 4.984 kB / 408.4 MB, free: 6.883 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4061, allocations: 1.094 kB / 408.4 MB, free: 6.883 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4061, allocations: 5.656 kB / 408.5 MB, free: 6.879 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.000677/0.4068, allocations: 0.5913 MB / 409 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4068, allocations: 1.312 kB / 409 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.407, allocations: 23.73 kB / 409.1 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.4071, allocations: 24.91 kB / 409.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4071, allocations: 2.031 kB / 409.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007971/0.4079, allocations: 1.28 MB / 410.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4079, allocations: 5.812 kB / 410.4 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.4083, allocations: 334.4 kB / 410.7 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.4083, allocations: 88.38 kB / 410.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.4084, allocations: 3.391 kB / 410.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.4084, allocations: 5.156 kB / 410.8 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.4085, allocations: 19.31 kB / 410.8 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4085, allocations: 4 kB / 410.8 MB, free: 4.609 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.4086, allocations: 101.7 kB / 410.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4086, allocations: 0 / 410.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.4089, allocations: 28.69 kB / 411 MB, free: 4.52 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.0006429/0.4095, allocations: 1.075 MB / 412 MB, free: 3.512 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.4098, allocations: 98.47 kB / 412.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4098, allocations: 128 / 412.1 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.41, allocations: 172.5 kB / 412.3 MB, free: 3.348 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.4103, allocations: 23.19 kB / 412.3 MB, free: 3.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4116, allocations: 1.184 MB / 413.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.4118, allocations: 0.7079 MB / 414.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.865e-05/0.4119, allocations: 16.45 kB / 414.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.412, allocations: 29.33 kB / 414.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.412, allocations: 0 / 414.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.433, allocations: 2.594 MB / 416.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.4333, allocations: 261.2 kB / 417.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.241, allocations: 0 / 417.1 MB, free: 1.098 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)