Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001196/0.001196, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001391/0.001391, allocations: 168.7 kB / 15.95 MB, free: 204 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.475/1.475, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003639/0.003639, allocations: 0.5462 MB / 291.6 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 12 kB / 352.8 MB, free: 2.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 50.57 MB / 403.4 MB, free: 152 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.2318/0.3582, allocations: 1.31 MB / 404.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.3586, allocations: 91.17 kB / 404.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.3587, allocations: 5.375 kB / 404.8 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.3587, allocations: 10.3 kB / 404.8 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3588, allocations: 26.38 kB / 404.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.359, allocations: 17.64 kB / 404.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3592, allocations: 97.62 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3593, allocations: 40.08 kB / 404.9 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.3594, allocations: 32.66 kB / 405 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3595, allocations: 39.23 kB / 405 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.3595, allocations: 5.031 kB / 405 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.3596, allocations: 4.906 kB / 405 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.3596, allocations: 16.34 kB / 405 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3597, allocations: 46.89 kB / 405.1 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.3598, allocations: 86.22 kB / 405.2 MB, free: 9.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3599, allocations: 0 / 405.2 MB, free: 9.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3599, allocations: 0 / 405.2 MB, free: 9.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3599, allocations: 0 / 405.2 MB, free: 9.684 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.0005763/0.3605, allocations: 380.8 kB / 405.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.3605, allocations: 8.562 kB / 405.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.3606, allocations: 50.8 kB / 405.6 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.3607, allocations: 9.594 kB / 405.6 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3609, allocations: 189.2 kB / 405.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3609, allocations: 7.062 kB / 405.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.361, allocations: 9.312 kB / 405.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.3612, allocations: 92.14 kB / 405.9 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3613, allocations: 5.078 kB / 405.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3613, allocations: 3.844 kB / 405.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.3613, allocations: 6.266 kB / 405.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3615, allocations: 57.42 kB / 406 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.3622, allocations: 391.9 kB / 406.4 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3625, allocations: 99.8 kB / 406.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.3625, allocations: 36.88 kB / 406.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.3626, allocations: 5.906 kB / 406.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3626, allocations: 32.66 kB / 406.5 MB, free: 8.629 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3626, allocations: 224 / 406.5 MB, free: 8.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00111/0.3637, allocations: 0.6802 MB / 407.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.3638, allocations: 61.48 kB / 407.3 MB, free: 7.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.3638, allocations: 119.4 kB / 407.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.3639, allocations: 30.8 kB / 407.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.3639, allocations: 95.28 kB / 407.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.364, allocations: 59.25 kB / 407.6 MB, free: 7.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.364, allocations: 5.469 kB / 407.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.3641, allocations: 319.7 kB / 407.9 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3641, allocations: 40.17 kB / 407.9 MB, free: 7.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.3642, allocations: 58.55 kB / 408 MB, free: 7.324 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.3643, allocations: 42.12 kB / 408 MB, free: 7.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3643, allocations: 0 / 408 MB, free: 7.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002621/0.3646, allocations: 170.1 kB / 408.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3646, allocations: 6.234 kB / 408.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3646, allocations: 1.219 kB / 408.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001378/0.3648, allocations: 30.17 kB / 408.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3649, allocations: 23.58 kB / 408.2 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009316/0.3658, allocations: 1.45 MB / 409.7 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.3659, allocations: 6.062 kB / 409.7 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3659, allocations: 9.031 kB / 409.7 MB, free: 5.742 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 (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.366, allocations: 126.8 kB / 409.8 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.366, allocations: 9.969 kB / 409.8 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.3661, allocations: 15.69 kB / 409.9 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3661, allocations: 1.062 kB / 409.9 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3661, allocations: 9.703 kB / 409.9 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3661, allocations: 1.875 kB / 409.9 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.3667, allocations: 0.5404 MB / 410.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3667, allocations: 1.281 kB / 410.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3668, allocations: 32.38 kB / 410.4 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/0.3669, allocations: 20.25 kB / 410.5 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.3669, allocations: 2.344 kB / 410.5 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006107/0.3675, allocations: 1.273 MB / 411.7 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3676, allocations: 1.312 kB / 411.7 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.3679, allocations: 305.2 kB / 412 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.3679, allocations: 85.38 kB / 412.1 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3679, allocations: 3.766 kB / 412.1 MB, free: 3.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.368, allocations: 5.156 kB / 412.1 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.368, allocations: 12.91 kB / 412.1 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3681, allocations: 8.859 kB / 412.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.3681, allocations: 100.8 kB / 412.2 MB, free: 3.355 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3681, allocations: 0 / 412.2 MB, free: 3.355 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003115/0.3684, allocations: 34.09 kB / 412.3 MB, free: 3.348 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 (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.0005103/0.3689, allocations: 0.8297 MB / 413.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.3693, allocations: 217.7 kB / 413.3 MB, free: 2.438 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3693, allocations: 0 / 413.3 MB, free: 2.438 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3695, allocations: 162.9 kB / 413.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3699, allocations: 33.41 kB / 413.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3712, allocations: 0.9141 MB / 414.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.3713, allocations: 0.7095 MB / 415.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.3714, allocations: 12.58 kB / 415.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.262e-05/0.3715, allocations: 28.05 kB / 415.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3715, allocations: 1.344 kB / 415.2 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.3866, allocations: 2.615 MB / 417.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.3868, allocations: 260.7 kB / 418 MB, free: 348 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.309, allocations: 5.719 kB / 418.1 MB, free: 348 kB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)