Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.00148, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 97.98 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002272/0.002272, allocations: 0.5717 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.506e-05, allocations: 0 / 388.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3082, allocations: 50.57 MB / 439.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.4186, allocations: 75.78 MB / 0.503 GB, free: 7.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4188, allocations: 75.89 kB / 0.503 GB, free: 7.285 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006252/0.4251, allocations: 2.423 MB / 0.5054 GB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4251, allocations: 0 / 0.5054 GB, free: 4.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.4252, allocations: 0 / 0.5054 GB, free: 4.848 MB / 346.7 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.0003868/0.4256, allocations: 382.4 kB / 0.5058 GB, free: 4.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4256, allocations: 8.031 kB / 0.5058 GB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.4257, allocations: 15.86 kB / 0.5058 GB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.4258, allocations: 182.8 kB / 0.506 GB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4258, allocations: 0 / 0.506 GB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.4259, allocations: 8 kB / 0.506 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/0.426, allocations: 48.36 kB / 0.506 GB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.4261, allocations: 78.92 kB / 0.5061 GB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4262, allocations: 4 kB / 0.5061 GB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4262, allocations: 0 / 0.5061 GB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4262, allocations: 7.953 kB / 0.5061 GB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.4267, allocations: 345.7 kB / 0.5064 GB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.4269, allocations: 98.45 kB / 0.5065 GB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.4269, allocations: 28.86 kB / 0.5066 GB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.427, allocations: 4 kB / 0.5066 GB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.427, allocations: 30.78 kB / 0.5066 GB, free: 3.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.427, allocations: 3.938 kB / 0.5066 GB, free: 3.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009358/0.4279, allocations: 0.6051 MB / 0.5072 GB, free: 2.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.428, allocations: 51.41 kB / 0.5072 GB, free: 2.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.4281, allocations: 117 kB / 0.5074 GB, free: 2.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.4281, allocations: 25.7 kB / 0.5074 GB, free: 2.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.4282, allocations: 99.97 kB / 0.5075 GB, free: 2.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.4283, allocations: 51.2 kB / 0.5075 GB, free: 2.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.4283, allocations: 4 kB / 0.5075 GB, free: 2.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4284, allocations: 322.8 kB / 0.5078 GB, free: 2.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.707e-05/0.4284, allocations: 24 kB / 0.5079 GB, free: 2.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.4285, allocations: 50.58 kB / 0.5079 GB, free: 2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.4286, allocations: 36.42 kB / 0.5079 GB, free: 1.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.4286, allocations: 4.375 kB / 0.5079 GB, free: 1.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001723/0.4288, allocations: 127.7 kB / 0.5081 GB, free: 1.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4288, allocations: 8 kB / 0.5081 GB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4288, allocations: 4.031 kB / 0.5081 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4288, allocations: 7.922 kB / 0.5081 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.429, allocations: 43.88 kB / 0.5081 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.429, allocations: 0 / 0.5081 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.4291, allocations: 3.984 kB / 0.5081 GB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4291, allocations: 8 kB / 0.5081 GB, free: 1.758 MB / 346.7 MB 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 () * 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 8.783e-05/0.4292, allocations: 108.9 kB / 0.5082 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000213/0.4294, allocations: 134.3 kB / 0.5084 GB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.4294, allocations: 7.906 kB / 0.5084 GB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.4295, allocations: 12.69 kB / 0.5084 GB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.4295, allocations: 4 kB / 0.5084 GB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4295, allocations: 0 / 0.5084 GB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4295, allocations: 3.984 kB / 0.5084 GB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.4301, allocations: 450.2 kB / 0.5088 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4301, allocations: 4 kB / 0.5088 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.4302, allocations: 24.05 kB / 0.5089 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.4303, allocations: 24.84 kB / 0.5089 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4303, allocations: 4 kB / 0.5089 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008671/0.4312, allocations: 1.225 MB / 0.5101 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.4312, allocations: 7.984 kB / 0.5101 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.4316, allocations: 318.1 kB / 0.5104 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.4316, allocations: 89.03 kB / 0.5105 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.4317, allocations: 4 kB / 0.5105 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.4317, allocations: 4.062 kB / 0.5105 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.4318, allocations: 7.984 kB / 0.5105 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.4318, allocations: 4 kB / 0.5105 GB, free: 15.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.4318, allocations: 87.28 kB / 0.5106 GB, free: 15.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4318, allocations: 0 / 0.5106 GB, free: 15.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.4321, allocations: 24 kB / 0.5106 GB, free: 14.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete 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.0006998/0.4328, allocations: 1.054 MB / 0.5116 GB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.433, allocations: 91.23 kB / 0.5117 GB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.4331, allocations: 0 / 0.5117 GB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.4334, allocations: 161.6 kB / 0.5119 GB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.4337, allocations: 16.27 kB / 0.5119 GB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008103/0.4345, allocations: 335.4 kB / 0.5122 GB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.4349, allocations: 0.708 MB / 0.5129 GB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.435, allocations: 12.75 kB / 0.5129 GB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.4351, allocations: 31.42 kB / 0.5129 GB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4351, allocations: 0 / 0.5129 GB, free: 12.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.4583, allocations: 2.047 MB / 0.5149 GB, free: 10.45 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003059/0.4587, allocations: 197 kB / 0.5151 GB, free: 10.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/1.912, allocations: 1.406 kB / 0.5151 GB, free: 10.19 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)