Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.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.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState",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.00123/0.00123, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01122/0.01122, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.005226/0.005226, allocations: 0.5506 MB / 292 MB, free: 1.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 8 kB / 353.4 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3525, allocations: 50.57 MB / 404 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.00225/0.3548, allocations: 1.353 MB / 405.3 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.3551, allocations: 93.66 kB / 405.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.3552, allocations: 5.625 kB / 405.4 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.3552, allocations: 10.22 kB / 405.4 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.3554, allocations: 22.73 kB / 405.5 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.3555, allocations: 22.72 kB / 405.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3557, allocations: 103 kB / 405.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3559, allocations: 31.38 kB / 405.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.356, allocations: 30.59 kB / 405.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3561, allocations: 44.05 kB / 405.7 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3561, allocations: 8.969 kB / 405.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.3562, allocations: 5.219 kB / 405.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.3562, allocations: 15.25 kB / 405.7 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.164e-05/0.3563, allocations: 69.25 kB / 405.8 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3565, allocations: 105.3 kB / 405.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3565, allocations: 0 / 405.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3565, allocations: 0 / 405.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3565, allocations: 4 kB / 405.9 MB, free: 9.852 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005182/0.3571, allocations: 381.1 kB / 406.3 MB, free: 9.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.3571, allocations: 10.78 kB / 406.3 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.3572, allocations: 41.14 kB / 406.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3572, allocations: 11.53 kB / 406.3 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3574, allocations: 189.5 kB / 406.5 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3575, allocations: 16.88 kB / 406.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.3575, allocations: 9.5 kB / 406.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3577, allocations: 96.88 kB / 406.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3578, allocations: 0 / 406.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3578, allocations: 4.438 kB / 406.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3578, allocations: 3.359 kB / 406.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3579, allocations: 66.83 kB / 406.7 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/0.3585, allocations: 388.8 kB / 407.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.3588, allocations: 103.3 kB / 407.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.3588, allocations: 37.92 kB / 407.2 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3588, allocations: 3.172 kB / 407.2 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3589, allocations: 32.5 kB / 407.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3589, allocations: 4 kB / 407.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001166/0.3601, allocations: 0.6842 MB / 407.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.3601, allocations: 53.53 kB / 408 MB, free: 8.074 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.3602, allocations: 122.1 kB / 408.1 MB, free: 7.969 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3602, allocations: 26.8 kB / 408.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.3603, allocations: 110 kB / 408.2 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.3603, allocations: 54.5 kB / 408.3 MB, free: 7.785 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.3603, allocations: 20.52 kB / 408.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.3604, allocations: 320.2 kB / 408.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.3605, allocations: 37.73 kB / 408.7 MB, free: 7.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.3606, allocations: 63.95 kB / 408.7 MB, free: 7.391 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3607, allocations: 101 kB / 408.8 MB, free: 7.328 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3607, allocations: 1.031 kB / 408.8 MB, free: 7.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002069/0.3609, allocations: 147.7 kB / 409 MB, free: 7.246 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.361, allocations: 5.688 kB / 409 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.361, allocations: 1 kB / 409 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.361, allocations: 6.047 kB / 409 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3612, allocations: 38 kB / 409 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3612, allocations: 1.844 kB / 409 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.3613, allocations: 6.25 kB / 409 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3613, allocations: 11.84 kB / 409 MB, free: 7.227 MB / 286.1 MB 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 7.931e-05/0.3614, allocations: 123.9 kB / 409.2 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.3614, allocations: 13.38 kB / 409.2 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.3614, allocations: 15.48 kB / 409.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3615, allocations: 3.203 kB / 409.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3615, allocations: 0 / 409.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3615, allocations: 0.7031 kB / 409.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.362, allocations: 0.4981 MB / 409.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.362, allocations: 1 kB / 409.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3622, allocations: 29.88 kB / 409.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.3623, allocations: 28.48 kB / 409.8 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3623, allocations: 2.594 kB / 409.8 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007093/0.363, allocations: 1.275 MB / 411 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.363, allocations: 1.312 kB / 411 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.3634, allocations: 308.2 kB / 411.3 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.3634, allocations: 88.8 kB / 411.4 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3634, allocations: 7.141 kB / 411.4 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.3635, allocations: 6.031 kB / 411.4 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.3635, allocations: 10.28 kB / 411.4 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.3636, allocations: 4.062 kB / 411.4 MB, free: 4.973 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.805e-05/0.3636, allocations: 96.39 kB / 411.5 MB, free: 4.891 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3636, allocations: 1.062 kB / 411.5 MB, free: 4.891 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3639, allocations: 28.88 kB / 411.6 MB, free: 4.887 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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.0004823/0.3644, allocations: 0.8372 MB / 412.4 MB, free: 4.125 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.3646, allocations: 91.03 kB / 412.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3646, allocations: 0 / 412.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.3648, allocations: 171.5 kB / 412.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3653, allocations: 26.8 kB / 412.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3668, allocations: 1.862 MB / 414.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.367, allocations: 0.7029 MB / 415.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.3671, allocations: 15.06 kB / 415.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.3672, allocations: 31.91 kB / 415.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3672, allocations: 0 / 415.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.3833, allocations: 2.601 MB / 417.9 MB, free: 1.434 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.3836, allocations: 290 kB / 418.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.281, allocations: 0 / 418.2 MB, free: 1.055 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState.pipe 2>&1)