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/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-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 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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 239.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009324, allocations: 106.3 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002426/0.002426, allocations: 0.5631 MB / 340.6 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009859/0.0009859, allocations: 51.94 kB / 400.9 MB, free: 66.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08893, allocations: 49.6 MB / 450.5 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial): time 0.002404/0.09137, allocations: 1.701 MB / 452.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002067/0.0916, allocations: 95.61 kB / 452.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.09166, allocations: 4 kB / 452.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.769e-05/0.09173, allocations: 11.92 kB / 452.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.09183, allocations: 31.77 kB / 452.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.09196, allocations: 23.98 kB / 452.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.976e-05/0.09206, allocations: 99.53 kB / 452.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.09221, allocations: 27.92 kB / 452.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.09227, allocations: 39.84 kB / 452.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.09236, allocations: 47.78 kB / 452.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.09238, allocations: 4 kB / 452.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.09241, allocations: 8 kB / 452.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.09243, allocations: 15.92 kB / 452.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.09249, allocations: 47.8 kB / 452.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.0926, allocations: 107.8 kB / 452.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.09261, allocations: 0 / 452.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.09261, allocations: 4 kB / 452.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.09262, allocations: 0 / 452.8 MB, free: 14.22 MB / 298.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.0003424/0.09297, allocations: 399.4 kB / 453.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.221e-05/0.093, allocations: 12.03 kB / 453.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.381e-05/0.09303, allocations: 8.844 kB / 453.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.09315, allocations: 192.1 kB / 453.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.09317, allocations: 8.562 kB / 453.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.09321, allocations: 12.38 kB / 453.4 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.09334, allocations: 89.97 kB / 453.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.09336, allocations: 4 kB / 453.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.09337, allocations: 8 kB / 453.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.09338, allocations: 4 kB / 453.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.09347, allocations: 63.89 kB / 453.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.09383, allocations: 388.6 kB / 454 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.09396, allocations: 106.5 kB / 454.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.09401, allocations: 32.86 kB / 454.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.09403, allocations: 0 / 454.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.09405, allocations: 34.56 kB / 454.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 8.81e-07/0.09405, allocations: 0 / 454.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007901/0.09485, allocations: 0.6927 MB / 454.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.704e-05/0.09488, allocations: 55.41 kB / 454.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.09494, allocations: 117.8 kB / 455 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.09495, allocations: 29.7 kB / 455 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.09499, allocations: 100.3 kB / 455.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.09502, allocations: 55.19 kB / 455.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.09507, allocations: 37.7 kB / 455.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.09512, allocations: 322.8 kB / 455.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.09517, allocations: 39.92 kB / 455.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.09524, allocations: 62.5 kB / 455.6 MB, free: 11.07 MB / 298.7 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.0006257/0.09587, allocations: 410.5 kB / 456 MB, free: 10.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.09588, allocations: 0 / 456 MB, free: 10.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002077/0.09609, allocations: 169 kB / 456.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.09612, allocations: 10.81 kB / 456.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.09612, allocations: 0 / 456.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-05/0.09622, allocations: 28.88 kB / 456.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.09631, allocations: 31.92 kB / 456.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007747/0.0971, allocations: 1.452 MB / 457.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.68e-05/0.09715, allocations: 8.031 kB / 457.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.09717, allocations: 4 kB / 457.7 MB, free: 8.781 MB / 298.7 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 7.579e-05/0.09728, allocations: 126.4 kB / 457.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.09731, allocations: 11.84 kB / 457.9 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.09735, allocations: 16.83 kB / 457.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.09736, allocations: 4 kB / 457.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.09737, allocations: 4.062 kB / 457.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.09737, allocations: 0 / 457.9 MB, free: 8.609 MB / 298.7 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.0004709/0.09785, allocations: 0.5941 MB / 458.5 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.09786, allocations: 4.094 kB / 458.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.09798, allocations: 27.98 kB / 458.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.858e-05/0.09804, allocations: 20.84 kB / 458.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.09806, allocations: 7.938 kB / 458.5 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000536/0.0986, allocations: 1.272 MB / 459.8 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.09862, allocations: 0 / 459.8 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.1002, allocations: 2.751 MB / 462.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.1002, allocations: 85.05 kB / 462.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1003, allocations: 4 kB / 462.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1003, allocations: 4 kB / 462.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.1004, allocations: 11.98 kB / 462.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1004, allocations: 7.938 kB / 462.7 MB, free: 3.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.1004, allocations: 96.8 kB / 462.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1004, allocations: 0 / 462.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.1008, allocations: 40 kB / 462.8 MB, free: 3.152 MB / 298.7 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 7.446e-05/0.1009, allocations: 111.2 kB / 462.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.1012, allocations: 222.6 kB / 463.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1012, allocations: 0 / 463.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1014, allocations: 162.8 kB / 463.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1017, allocations: 27.98 kB / 463.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.1024, allocations: 0.7016 MB / 464 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.1025, allocations: 0.7128 MB / 464.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.817e-05/0.1026, allocations: 17.02 kB / 464.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.1026, allocations: 15.38 kB / 464.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1026, allocations: 0 / 464.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of Templates: time 0.003642/0.1063, allocations: 1.644 MB / 466.4 MB, free: 15.46 MB / 314.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullInitial.pipe 2>&1)