Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",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.007683/0.007683, allocations: 99.64 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.001934/0.001934, allocations: 186.2 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.003071/0.003071, allocations: 0.5623 MB / 291.1 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/0.1726, allocations: 59.03 kB / 401.9 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.2621, allocations: 49.61 MB / 451.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001588/0.2637, allocations: 0.5086 MB / 452 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.2639, allocations: 30.94 kB / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.264, allocations: 0 / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.264, allocations: 0 / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.2641, allocations: 4 kB / 452.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.2642, allocations: 11.92 kB / 452.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.2643, allocations: 15.98 kB / 452.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.2643, allocations: 0 / 452.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.2644, allocations: 19.92 kB / 452.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.2645, allocations: 11.92 kB / 452.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2645, allocations: 4 kB / 452.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.2645, allocations: 0 / 452.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.2645, allocations: 3.984 kB / 452.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.2645, allocations: 11.94 kB / 452.1 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.795e-05/0.2646, allocations: 23.84 kB / 452.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2646, allocations: 0 / 452.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2646, allocations: 0 / 452.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2646, allocations: 0 / 452.2 MB, free: 5.242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003778/0.265, allocations: 333.8 kB / 452.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2651, allocations: 15.89 kB / 452.5 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.2651, allocations: 34.75 kB / 452.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.2652, allocations: 12.83 kB / 452.5 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2653, allocations: 164.3 kB / 452.7 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2653, allocations: 4.375 kB / 452.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.2653, allocations: 8.375 kB / 452.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2654, allocations: 42.25 kB / 452.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2654, allocations: 3.938 kB / 452.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2655, allocations: 4 kB / 452.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2655, allocations: 7.984 kB / 452.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.2655, allocations: 12 kB / 452.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.2658, allocations: 248.8 kB / 453 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.266, allocations: 62.44 kB / 453.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.266, allocations: 16.98 kB / 453.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.266, allocations: 3.984 kB / 453.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.266, allocations: 34.56 kB / 453.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.266, allocations: 4 kB / 453.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007621/0.2668, allocations: 0.4943 MB / 453.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2669, allocations: 51.41 kB / 453.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.2669, allocations: 93.86 kB / 453.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.267, allocations: 33.69 kB / 453.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.267, allocations: 80.14 kB / 453.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2671, allocations: 27.56 kB / 453.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.2671, allocations: 37.64 kB / 454 MB, free: 3.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2672, allocations: 314.8 kB / 454.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.2673, allocations: 23.92 kB / 454.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-05/0.2673, allocations: 29.72 kB / 454.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.2676, allocations: 244 kB / 454.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2676, allocations: 0.8125 kB / 454.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.2678, allocations: 85.53 kB / 454.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2678, allocations: 8 kB / 454.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2678, allocations: 0 / 454.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2678, allocations: 96 / 454.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2679, allocations: 27.98 kB / 454.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2679, allocations: 4.172 kB / 454.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.268, allocations: 7.938 kB / 454.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.268, allocations: 3.984 kB / 454.7 MB, free: 2.336 MB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.v1 = 0.0 $DER.x1 = 0.0. 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 (10): * Single equations (assignments): 10 * 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 0.0001765/0.2682, allocations: 121.8 kB / 454.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2682, allocations: 4 kB / 454.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.2682, allocations: 8.203 kB / 454.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2682, allocations: 7.969 kB / 454.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2683, allocations: 0 / 454.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2683, allocations: 3.938 kB / 454.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.2687, allocations: 377.7 kB / 455.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2687, allocations: 0 / 455.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.2688, allocations: 8 kB / 455.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.2689, allocations: 20.84 kB / 455.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.2689, allocations: 4 kB / 455.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.2699, allocations: 1.383 MB / 456.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.27, allocations: 3.938 kB / 456.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.2702, allocations: 222.9 kB / 456.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.2703, allocations: 92.92 kB / 456.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.2703, allocations: 0 / 456.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.237e-05/0.2703, allocations: 8.062 kB / 456.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.2704, allocations: 7.984 kB / 457 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2704, allocations: 7.938 kB / 457 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.2704, allocations: 87.47 kB / 457 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2704, allocations: 0 / 457 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.2707, allocations: 12 kB / 457.1 MB, free: 15.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004942/0.2712, allocations: 0.7548 MB / 457.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2713, allocations: 47.92 kB / 457.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2713, allocations: 0 / 457.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.2716, allocations: 146.5 kB / 458 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2718, allocations: 4 kB / 458 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2729, allocations: 1.358 MB / 459.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2732, allocations: 0.6846 MB / 460 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.999e-05/0.2732, allocations: 4 kB / 460.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.2732, allocations: 19.42 kB / 460.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2732, allocations: 0 / 460.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2939, allocations: 1.695 MB / 461.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.126/9.42, allocations: 27.94 kB / 461.8 MB, free: 11.02 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1)