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+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 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.00578/0.00578, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001308/0.001308, allocations: 193.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002674/0.002674, allocations: 0.5649 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 401.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08787, allocations: 49.59 MB / 451.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002554/0.09046, allocations: 1.653 MB / 453.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002748/0.09076, allocations: 95.62 kB / 453.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.09082, allocations: 4 kB / 453.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.09088, allocations: 11.86 kB / 453.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.091, allocations: 31.7 kB / 453.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.09114, allocations: 23.98 kB / 453.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.09127, allocations: 111.5 kB / 453.4 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.0914, allocations: 35.97 kB / 453.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.09147, allocations: 39.8 kB / 453.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.09157, allocations: 51.77 kB / 453.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.09159, allocations: 11.94 kB / 453.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.09161, allocations: 8 kB / 453.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.09164, allocations: 19.92 kB / 453.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.09172, allocations: 51.8 kB / 453.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.09187, allocations: 103.8 kB / 453.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.09188, allocations: 3.984 kB / 453.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09189, allocations: 0 / 453.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.0919, allocations: 4 kB / 453.8 MB, free: 12.73 MB / 334.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.0004914/0.0924, allocations: 399.2 kB / 454.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.09244, allocations: 12.03 kB / 454.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.09248, allocations: 42.75 kB / 454.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.09252, allocations: 12.89 kB / 454.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.09268, allocations: 192.2 kB / 454.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.0927, allocations: 8.562 kB / 454.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.09273, allocations: 4.375 kB / 454.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.09293, allocations: 100 kB / 454.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.09294, allocations: 0 / 454.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.09296, allocations: 4 kB / 454.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.09297, allocations: 4 kB / 454.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.09308, allocations: 55.91 kB / 454.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.09359, allocations: 388.7 kB / 455 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.09376, allocations: 106.4 kB / 455.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.09383, allocations: 36.84 kB / 455.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.09384, allocations: 0 / 455.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.09388, allocations: 38.56 kB / 455.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.09389, allocations: 0 / 455.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001056/0.09495, allocations: 0.6816 MB / 455.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.095, allocations: 51.41 kB / 455.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.09512, allocations: 130.8 kB / 456 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.09514, allocations: 29.7 kB / 456 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.09521, allocations: 100.4 kB / 456.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.09527, allocations: 63.47 kB / 456.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.09532, allocations: 37.66 kB / 456.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.09543, allocations: 318.8 kB / 456.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.09549, allocations: 35.98 kB / 456.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.231e-05/0.09558, allocations: 54.56 kB / 456.6 MB, free: 9.547 MB / 334.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: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.09631, allocations: 425 kB / 457 MB, free: 9.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09632, allocations: 3.938 kB / 457 MB, free: 9.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002366/0.09657, allocations: 166.3 kB / 457.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.09659, allocations: 4 kB / 457.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.0966, allocations: 0 / 457.2 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.09674, allocations: 32.83 kB / 457.2 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.09684, allocations: 31.92 kB / 457.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.09802, allocations: 1.607 MB / 458.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.09808, allocations: 7.984 kB / 458.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.0981, allocations: 4.062 kB / 458.9 MB, free: 7.078 MB / 334.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: mass1.v = $START.mass1.v mass2.s = $START.mass2.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.09822, allocations: 134 kB / 459 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.09826, allocations: 7.953 kB / 459 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.09829, allocations: 16.84 kB / 459 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.0983, allocations: 7.984 kB / 459 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.09831, allocations: 0 / 459 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.09831, allocations: 0 / 459 MB, free: 6.91 MB / 334.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.0006422/0.09896, allocations: 0.6019 MB / 459.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.09897, allocations: 0 / 459.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.0991, allocations: 31.98 kB / 459.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-05/0.09917, allocations: 12.86 kB / 459.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.09919, allocations: 11.94 kB / 459.7 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008327/0.1, allocations: 1.371 MB / 461.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1, allocations: 3.938 kB / 461.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1004, allocations: 298.7 kB / 461.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.1004, allocations: 89.08 kB / 461.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1004, allocations: 8.062 kB / 461.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.1005, allocations: 8 kB / 461.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.1006, allocations: 11.92 kB / 461.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1006, allocations: 8 kB / 461.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.437e-05/0.1006, allocations: 99.64 kB / 461.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1006, allocations: 0 / 461.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1009, allocations: 28 kB / 461.6 MB, free: 4.059 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005856/0.1015, allocations: 0.8426 MB / 462.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.1019, allocations: 238.6 kB / 462.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1019, allocations: 0 / 462.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.1021, allocations: 170.6 kB / 462.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.1025, allocations: 19.12 kB / 462.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1043, allocations: 1.849 MB / 464.7 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1045, allocations: 0.7046 MB / 465.4 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.1046, allocations: 13.08 kB / 465.4 MB, free: 28 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.1047, allocations: 31.44 kB / 465.5 MB, free: 16 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1047, allocations: 0 / 465.5 MB, free: 16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8857/0.9904, allocations: 3.037 MB / 468.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.57/10.56, allocations: 12.28 kB / 468.5 MB, free: 13.18 MB / 350.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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)