Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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-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 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.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.001117/0.001117, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001271/0.001272, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00333/0.00333, allocations: 0.5467 MB / 291.5 MB, free: 1.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 4 kB / 352.7 MB, free: 2.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 50.58 MB / 403.2 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.2276/0.3494, allocations: 238.4 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.3497, allocations: 20.88 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.3497, allocations: 1.594 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.3497, allocations: 0 / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.3498, allocations: 3.344 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.3499, allocations: 6.906 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.35, allocations: 13.81 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.511e-05/0.3501, allocations: 2.562 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.3501, allocations: 9.047 kB / 403.5 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/0.3502, allocations: 10.33 kB / 403.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3503, allocations: 0.6562 kB / 403.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.3503, allocations: 1.406 kB / 403.5 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.3503, allocations: 8.422 kB / 403.6 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.3504, allocations: 33.05 kB / 403.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.227e-05/0.3504, allocations: 6.172 kB / 403.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3504, allocations: 0 / 403.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3504, allocations: 0.9375 kB / 403.6 MB, free: 9.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3504, allocations: 3.828 kB / 403.6 MB, free: 9.812 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004051/0.3509, allocations: 337.5 kB / 403.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.3509, allocations: 10.16 kB / 403.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.351, allocations: 32.09 kB / 404 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.351, allocations: 6.078 kB / 404 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.3511, allocations: 168.1 kB / 404.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3511, allocations: 2 kB / 404.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.3512, allocations: 3.328 kB / 404.1 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.3513, allocations: 43.98 kB / 404.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3513, allocations: 0.75 kB / 404.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3514, allocations: 4 kB / 404.2 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3514, allocations: 5.141 kB / 404.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/0.3514, allocations: 20.47 kB / 404.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.3518, allocations: 289.7 kB / 404.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.352, allocations: 39.55 kB / 404.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.352, allocations: 1.625 kB / 404.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.352, allocations: 42.78 kB / 404.6 MB, free: 8.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.352, allocations: 0 / 404.6 MB, free: 8.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004335/0.3524, allocations: 159.2 kB / 404.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3525, allocations: 53.06 kB / 404.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.3526, allocations: 96.25 kB / 404.9 MB, free: 8.508 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.3526, allocations: 29.08 kB / 404.9 MB, free: 8.477 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.3526, allocations: 92.64 kB / 405 MB, free: 8.387 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3527, allocations: 15.42 kB / 405 MB, free: 8.379 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.3527, allocations: 0 / 405 MB, free: 8.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.3528, allocations: 317 kB / 405.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.3528, allocations: 5.781 kB / 405.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.3528, allocations: 21.41 kB / 405.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.3529, allocations: 14.64 kB / 405.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3529, allocations: 0 / 405.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001166/0.353, allocations: 72.56 kB / 405.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3531, allocations: 4.875 kB / 405.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3531, allocations: 1.078 kB / 405.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3531, allocations: 0.5938 kB / 405.4 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3532, allocations: 17.67 kB / 405.5 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3532, allocations: 1.156 kB / 405.5 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.3533, allocations: 4.469 kB / 405.5 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3533, allocations: 2.797 kB / 405.5 MB, free: 8 MB / 286.1 MB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.3534, allocations: 115.1 kB / 405.6 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3534, allocations: 5.516 kB / 405.6 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.3534, allocations: 8.734 kB / 405.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3534, allocations: 0.7812 kB / 405.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.3535, allocations: 0.625 kB / 405.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3535, allocations: 5.031 kB / 405.6 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.3536, allocations: 159.7 kB / 405.8 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3537, allocations: 0.6562 kB / 405.8 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.3537, allocations: 7.5 kB / 405.8 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.3539, allocations: 27.03 kB / 405.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3539, allocations: 5.219 kB / 405.8 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009428/0.3549, allocations: 1.253 MB / 407 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3549, allocations: 1 kB / 407 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3551, allocations: 167.5 kB / 407.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.3552, allocations: 82.69 kB / 407.3 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.3552, allocations: 3.25 kB / 407.3 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/0.3552, allocations: 3.5 kB / 407.3 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.3553, allocations: 3.75 kB / 407.3 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3553, allocations: 6.516 kB / 407.3 MB, free: 6.148 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.3553, allocations: 86.03 kB / 407.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3553, allocations: 0 / 407.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.3555, allocations: 9.156 kB / 407.4 MB, free: 6.066 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003735/0.3559, allocations: 0.6981 MB / 408.1 MB, free: 5.395 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.356, allocations: 25.94 kB / 408.1 MB, free: 5.391 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.356, allocations: 0 / 408.1 MB, free: 5.391 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3562, allocations: 132.6 kB / 408.3 MB, free: 5.277 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.3564, allocations: 1.094 kB / 408.3 MB, free: 5.277 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.3569, allocations: 0.5593 MB / 408.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3571, allocations: 0.6834 MB / 409.5 MB, free: 4.082 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.851e-05/0.3571, allocations: 2.297 kB / 409.5 MB, free: 4.082 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.3572, allocations: 10.39 kB / 409.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3572, allocations: 0 / 409.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.3698, allocations: 1.249 MB / 410.8 MB, free: 3.93 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.3701, allocations: 269.3 kB / 411 MB, free: 3.578 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/2.183, allocations: 1.094 kB / 411 MB, free: 3.578 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)