Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",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.007119/0.007119, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001622/0.001622, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00287/0.00287, allocations: 0.5663 MB / 291.1 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1586/0.1586, allocations: 57.03 kB / 401.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.2503, allocations: 49.59 MB / 451.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002608/0.253, allocations: 1.66 MB / 453.2 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002851/0.2533, allocations: 91.69 kB / 453.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.2534, allocations: 3.938 kB / 453.3 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.2534, allocations: 11.86 kB / 453.3 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2536, allocations: 31.72 kB / 453.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.2537, allocations: 27.95 kB / 453.3 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.2539, allocations: 111.5 kB / 453.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.254, allocations: 35.97 kB / 453.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.2541, allocations: 35.92 kB / 453.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2542, allocations: 47.77 kB / 453.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.2542, allocations: 12 kB / 453.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.2542, allocations: 8 kB / 453.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.2543, allocations: 23.86 kB / 453.6 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.2543, allocations: 47.81 kB / 453.6 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.2545, allocations: 113.9 kB / 453.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2545, allocations: 0 / 453.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2545, allocations: 0 / 453.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2545, allocations: 0 / 453.8 MB, free: 3.789 MB / 318.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.0005302/0.2551, allocations: 399.4 kB / 454.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2551, allocations: 12.03 kB / 454.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.2551, allocations: 38.75 kB / 454.2 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.2552, allocations: 20.75 kB / 454.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.2554, allocations: 184.2 kB / 454.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2554, allocations: 8.562 kB / 454.4 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.2554, allocations: 8.375 kB / 454.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.2556, allocations: 95.47 kB / 454.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2556, allocations: 7.906 kB / 454.5 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2556, allocations: 4 kB / 454.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2557, allocations: 0 / 454.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.2558, allocations: 59.97 kB / 454.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.2563, allocations: 384.6 kB / 455 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.2564, allocations: 102.4 kB / 455.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.247e-05/0.2565, allocations: 44.84 kB / 455.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2565, allocations: 0 / 455.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2566, allocations: 34.56 kB / 455.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.02e-07/0.2566, allocations: 0 / 455.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001093/0.2577, allocations: 0.6868 MB / 455.8 MB, free: 1.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.2577, allocations: 55.41 kB / 455.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.2578, allocations: 122.9 kB / 456 MB, free: 1.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2578, allocations: 29.69 kB / 456 MB, free: 1.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.2579, allocations: 104.2 kB / 456.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2579, allocations: 55.2 kB / 456.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.258, allocations: 33.7 kB / 456.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2581, allocations: 322.8 kB / 456.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.524e-05/0.2582, allocations: 35.98 kB / 456.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.2582, allocations: 68.69 kB / 456.6 MB, free: 0.5938 MB / 318.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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.2588, allocations: 364.5 kB / 457 MB, free: 200 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2588, allocations: 3.938 kB / 457 MB, free: 196 kB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001913/0.259, allocations: 137.5 kB / 457.1 MB, free: 52 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.259, allocations: 12.03 kB / 457.1 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.259, allocations: 3.938 kB / 457.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.259, allocations: 3.938 kB / 457.1 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.2592, allocations: 36.03 kB / 457.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2592, allocations: 0 / 457.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.2593, allocations: 4 kB / 457.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2593, allocations: 4 kB / 457.2 MB, free: 15.98 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.2594, allocations: 136.3 kB / 457.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.2595, allocations: 15.81 kB / 457.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.2595, allocations: 16.84 kB / 457.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2595, allocations: 0 / 457.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.2595, allocations: 4 kB / 457.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2595, allocations: 7.922 kB / 457.4 MB, free: 15.8 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.000594/0.2601, allocations: 0.5905 MB / 457.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2601, allocations: 8 kB / 458 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.2603, allocations: 23.94 kB / 458 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.2604, allocations: 24.78 kB / 458 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2604, allocations: 4 kB / 458 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/0.2613, allocations: 1.363 MB / 459.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2613, allocations: 0 / 459.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.2617, allocations: 313.5 kB / 459.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.2617, allocations: 89.03 kB / 459.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2617, allocations: 8 kB / 459.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.2618, allocations: 4 kB / 459.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.2619, allocations: 19.98 kB / 459.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.2619, allocations: 4 kB / 459.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.572e-05/0.2619, allocations: 99.64 kB / 459.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2619, allocations: 0 / 459.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.2622, allocations: 28 kB / 459.9 MB, free: 12.96 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.0005496/0.2627, allocations: 0.8327 MB / 460.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.263, allocations: 111.7 kB / 460.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.263, allocations: 4 kB / 460.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.2632, allocations: 166.9 kB / 461 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.2635, allocations: 19.98 kB / 461.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2652, allocations: 1.787 MB / 462.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.2655, allocations: 0.7084 MB / 463.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.659e-05/0.2656, allocations: 13.08 kB / 463.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.2657, allocations: 37.77 kB / 463.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2657, allocations: 0 / 463.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.2892, allocations: 3.011 MB / 466.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.589/8.879, allocations: 8.469 kB / 466.6 MB, free: 6.316 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1)