Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",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.001197/0.001197, allocations: 99.62 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.001327/0.001327, 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.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003737/0.003736, allocations: 0.5581 MB / 291.5 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003572, allocations: 8 kB / 352.7 MB, free: 2.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1351, allocations: 50.56 MB / 403.2 MB, free: 176 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.2605/0.3956, allocations: 239.6 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.3958, allocations: 23.81 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.3959, allocations: 0 / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.18e-05/0.3959, allocations: 0 / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/0.3959, allocations: 1.469 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.3961, allocations: 6.172 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.008e-05/0.3961, allocations: 11.03 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.3962, allocations: 4.531 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.3962, allocations: 9.766 kB / 403.5 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.3963, allocations: 12.11 kB / 403.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3963, allocations: 1.812 kB / 403.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.3964, allocations: 1.25 kB / 403.5 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.3964, allocations: 4.688 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.3964, allocations: 32.02 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.279e-05/0.3965, allocations: 8.25 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3965, allocations: 0.6562 kB / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3965, allocations: 0 / 403.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.3965, allocations: 3.938 kB / 403.6 MB, free: 9.793 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003326/0.3968, allocations: 333.8 kB / 403.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.3969, allocations: 9.609 kB / 403.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.3969, allocations: 32.19 kB / 404 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.3969, allocations: 8.797 kB / 404 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/0.397, allocations: 166 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3971, allocations: 2.281 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3971, allocations: 3.156 kB / 404.1 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3972, allocations: 44.22 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3972, allocations: 0.75 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3972, allocations: 1.953 kB / 404.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3973, allocations: 3.953 kB / 404.2 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.3973, allocations: 18.08 kB / 404.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.3977, allocations: 299.6 kB / 404.5 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/0.3978, allocations: 42.53 kB / 404.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.3978, allocations: 1.938 kB / 404.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3978, allocations: 35.75 kB / 404.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3978, allocations: 0 / 404.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003915/0.3982, allocations: 164.6 kB / 404.7 MB, free: 8.652 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.3983, allocations: 53.33 kB / 404.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.3983, allocations: 95.39 kB / 404.9 MB, free: 8.492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.3983, allocations: 29.36 kB / 404.9 MB, free: 8.461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.3984, allocations: 86.69 kB / 405 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3984, allocations: 13.88 kB / 405 MB, free: 8.367 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.3984, allocations: 1.062 kB / 405 MB, free: 8.367 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.3985, allocations: 312.8 kB / 405.3 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.3985, allocations: 12.84 kB / 405.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.3985, allocations: 21.16 kB / 405.3 MB, free: 8.035 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.3986, allocations: 13.28 kB / 405.4 MB, free: 8.035 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3986, allocations: 0 / 405.4 MB, free: 8.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001317/0.3987, allocations: 83.09 kB / 405.4 MB, free: 7.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3987, allocations: 4.75 kB / 405.4 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3988, allocations: 1.125 kB / 405.4 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.3989, allocations: 23.28 kB / 405.5 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.399, allocations: 6.484 kB / 405.5 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007879/0.3998, allocations: 1.259 MB / 406.7 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.3998, allocations: 1.469 kB / 406.7 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3998, allocations: 1.906 kB / 406.7 MB, free: 6.703 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.327e-05/0.3999, allocations: 119.5 kB / 406.9 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.3999, allocations: 6.188 kB / 406.9 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.4, allocations: 7.578 kB / 406.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4, allocations: 1.438 kB / 406.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.4, allocations: 5.031 kB / 406.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4, allocations: 4 kB / 406.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.4001, allocations: 160.3 kB / 407 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4001, allocations: 4.547 kB / 407 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.4002, allocations: 3.672 kB / 407 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-05/0.4003, allocations: 18.95 kB / 407.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4003, allocations: 1.953 kB / 407.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000618/0.4009, allocations: 1.249 MB / 408.3 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4009, allocations: 1.5 kB / 408.3 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.4011, allocations: 178.6 kB / 408.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.4011, allocations: 78.91 kB / 408.6 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.4011, allocations: 3.875 kB / 408.6 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.4012, allocations: 0.8125 kB / 408.6 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.4012, allocations: 10.98 kB / 408.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.4012, allocations: 1.641 kB / 408.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.606e-05/0.4013, allocations: 82.34 kB / 408.7 MB, free: 4.777 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4013, allocations: 0 / 408.7 MB, free: 4.777 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.4015, allocations: 10.25 kB / 408.7 MB, free: 4.777 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.000329/0.4018, allocations: 0.7036 MB / 409.4 MB, free: 4.102 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.4021, allocations: 142.9 kB / 409.5 MB, free: 3.988 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.4021, allocations: 4.125 kB / 409.5 MB, free: 3.984 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.4023, allocations: 123.5 kB / 409.6 MB, free: 3.875 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.4024, allocations: 5.5 kB / 409.6 MB, free: 3.875 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.403, allocations: 0.5789 MB / 410.2 MB, free: 3.359 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.4032, allocations: 0.684 MB / 410.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.897e-05/0.4032, allocations: 1.922 kB / 410.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.4033, allocations: 9.891 kB / 410.9 MB, free: 2.656 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4033, allocations: 0 / 410.9 MB, free: 2.656 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.4158, allocations: 1.326 MB / 412.2 MB, free: 2.52 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.416, allocations: 271.2 kB / 412.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.132, allocations: 6.125 kB / 412.5 MB, free: 2.156 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)