Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001648/0.001648, allocations: 180.7 kB / 7.649 MB, free: 1.395 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.506/1.506, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.001044/0.001043, allocations: 97.67 kB / 280.5 MB, free: 5.309 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.002416/0.002415, allocations: 0.5583 MB / 331.8 MB, free: 14.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.488e-05, allocations: 3.984 kB / 388.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2948, allocations: 50.57 MB / 439.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.4003, allocations: 75.76 MB / 0.5029 GB, free: 7.375 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.4006, allocations: 67.91 kB / 0.503 GB, free: 7.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006261/0.4068, allocations: 2.416 MB / 0.5054 GB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4069, allocations: 0 / 0.5054 GB, free: 4.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4069, allocations: 0 / 0.5054 GB, free: 4.879 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.0003923/0.4073, allocations: 374.5 kB / 0.5057 GB, free: 4.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4073, allocations: 8.031 kB / 0.5057 GB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.4074, allocations: 11.86 kB / 0.5057 GB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.4075, allocations: 186.8 kB / 0.5059 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4076, allocations: 0 / 0.5059 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.4076, allocations: 12 kB / 0.5059 GB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001268/0.4077, allocations: 44.36 kB / 0.506 GB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4079, allocations: 78.98 kB / 0.5061 GB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4079, allocations: 4 kB / 0.5061 GB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4079, allocations: 0 / 0.5061 GB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.408, allocations: 7.953 kB / 0.5061 GB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.4085, allocations: 345.6 kB / 0.5064 GB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4087, allocations: 98.45 kB / 0.5065 GB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.4087, allocations: 32.86 kB / 0.5065 GB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4088, allocations: 4 kB / 0.5065 GB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4088, allocations: 34.77 kB / 0.5066 GB, free: 3.512 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.585e-06/0.4088, allocations: 0 / 0.5066 GB, free: 3.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001024/0.4098, allocations: 0.6155 MB / 0.5072 GB, free: 2.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.4099, allocations: 51.41 kB / 0.5072 GB, free: 2.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.41, allocations: 113 kB / 0.5073 GB, free: 2.625 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.41, allocations: 25.7 kB / 0.5073 GB, free: 2.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.4101, allocations: 99.98 kB / 0.5074 GB, free: 2.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.4101, allocations: 51.19 kB / 0.5075 GB, free: 2.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4101, allocations: 0 / 0.5075 GB, free: 2.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4102, allocations: 322.8 kB / 0.5078 GB, free: 2.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.4103, allocations: 28 kB / 0.5078 GB, free: 2.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.4104, allocations: 54.56 kB / 0.5079 GB, free: 2.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.932e-05/0.4104, allocations: 31.98 kB / 0.5079 GB, free: 1.996 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4104, allocations: 0 / 0.5079 GB, free: 1.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002253/0.4107, allocations: 154.2 kB / 0.508 GB, free: 1.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4107, allocations: 13.5 kB / 0.5081 GB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4107, allocations: 4.031 kB / 0.5081 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.4108, allocations: 24.84 kB / 0.5081 GB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.411, allocations: 24.36 kB / 0.5081 GB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.4121, allocations: 1.396 MB / 0.5095 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.4121, allocations: 4.031 kB / 0.5095 GB, free: 256 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4122, allocations: 4 kB / 0.5095 GB, free: 252 kB / 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 (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 7.219e-05/0.4122, allocations: 108.9 kB / 0.5096 GB, free: 136 kB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002258/0.4125, allocations: 130.4 kB / 0.5097 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.4125, allocations: 11.97 kB / 0.5097 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.4126, allocations: 20.64 kB / 0.5097 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4126, allocations: 0 / 0.5097 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4126, allocations: 0 / 0.5097 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4126, allocations: 144 / 0.5097 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.4131, allocations: 0.5051 MB / 0.5102 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4131, allocations: 0 / 0.5102 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.4133, allocations: 27.92 kB / 0.5103 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-05/0.4133, allocations: 24.84 kB / 0.5103 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4134, allocations: 0 / 0.5103 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008274/0.4142, allocations: 1.233 MB / 0.5115 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4142, allocations: 0 / 0.5115 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.4145, allocations: 321 kB / 0.5118 GB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.4146, allocations: 85.02 kB / 0.5119 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4146, allocations: 7.891 kB / 0.5119 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.4147, allocations: 3.984 kB / 0.5119 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.4147, allocations: 20.05 kB / 0.5119 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4148, allocations: 4 kB / 0.5119 GB, free: 13.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.4148, allocations: 83.28 kB / 0.512 GB, free: 13.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4148, allocations: 4 kB / 0.512 GB, free: 13.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.4151, allocations: 24 kB / 0.512 GB, free: 13.38 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.000683/0.4158, allocations: 1.05 MB / 0.513 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.4161, allocations: 201.8 kB / 0.5132 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4161, allocations: 0 / 0.5132 GB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.4163, allocations: 157.7 kB / 0.5134 GB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4166, allocations: 19.92 kB / 0.5134 GB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.4172, allocations: 333.6 kB / 0.5137 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.4175, allocations: 0.7162 MB / 0.5144 GB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.475e-05/0.4176, allocations: 5.062 kB / 0.5144 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.4176, allocations: 31.42 kB / 0.5145 GB, free: 10.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4176, allocations: 0 / 0.5145 GB, free: 10.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.4369, allocations: 2.123 MB / 0.5165 GB, free: 8.664 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.4372, allocations: 197.6 kB / 0.5167 GB, free: 8.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.931, allocations: 0 / 0.5167 GB, free: 8.402 MB / 362.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)