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-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.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.00138/0.00138, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001788/0.001788, allocations: 172.7 kB / 15.95 MB, free: 208 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.458/1.458, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00251/0.00251, allocations: 0.5469 MB / 291.6 MB, free: 1.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004074, allocations: 8 kB / 352.8 MB, free: 2.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 50.59 MB / 403.4 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.226/0.353, allocations: 1.321 MB / 404.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003008/0.3533, allocations: 95.98 kB / 404.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.3534, allocations: 2.219 kB / 404.8 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.3534, allocations: 13.38 kB / 404.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.3536, allocations: 25.02 kB / 404.8 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.3537, allocations: 19.83 kB / 404.8 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.3538, allocations: 99.16 kB / 404.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.354, allocations: 33.61 kB / 405 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.3541, allocations: 34.66 kB / 405 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3542, allocations: 39.14 kB / 405 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.3542, allocations: 4.469 kB / 405 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.3543, allocations: 5.25 kB / 405 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.3543, allocations: 16.94 kB / 405.1 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.3544, allocations: 44.52 kB / 405.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3545, allocations: 79.97 kB / 405.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3546, allocations: 2.094 kB / 405.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3546, allocations: 0 / 405.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3546, allocations: 4 kB / 405.2 MB, free: 9.672 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.000465/0.3551, allocations: 381.5 kB / 405.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3551, allocations: 8.75 kB / 405.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.3552, allocations: 46.72 kB / 405.6 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3552, allocations: 9.094 kB / 405.6 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.3554, allocations: 189.6 kB / 405.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3554, allocations: 6.688 kB / 405.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.3554, allocations: 13.94 kB / 405.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3557, allocations: 92.52 kB / 405.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3557, allocations: 1.156 kB / 405.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3557, allocations: 5.141 kB / 405.9 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3557, allocations: 6.172 kB / 405.9 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.3559, allocations: 62.8 kB / 406 MB, free: 8.996 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.3565, allocations: 389 kB / 406.4 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.3567, allocations: 104.4 kB / 406.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.848e-05/0.3568, allocations: 33.48 kB / 406.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3568, allocations: 1.719 kB / 406.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3568, allocations: 36.23 kB / 406.5 MB, free: 8.609 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3568, allocations: 9.156 kB / 406.5 MB, free: 8.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001052/0.3579, allocations: 0.6766 MB / 407.2 MB, free: 8.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3579, allocations: 52.38 kB / 407.3 MB, free: 7.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.358, allocations: 121.3 kB / 407.4 MB, free: 7.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.3581, allocations: 31.02 kB / 407.4 MB, free: 7.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.3581, allocations: 98.62 kB / 407.5 MB, free: 7.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3582, allocations: 64.23 kB / 407.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.3582, allocations: 5.125 kB / 407.6 MB, free: 7.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.3582, allocations: 320.7 kB / 407.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.254e-05/0.3583, allocations: 37.64 kB / 407.9 MB, free: 7.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.3584, allocations: 60.44 kB / 408 MB, free: 7.301 MB / 286.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: mass2.v = $START.mass2.v ($START.mass1.v = $START.mass2.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.a = $START.mass1.a ($START.mass2.a = $START.mass1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.3588, allocations: 269.2 kB / 408.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3588, allocations: 0 / 408.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002087/0.359, allocations: 145 kB / 408.4 MB, free: 7.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3591, allocations: 9.891 kB / 408.4 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3591, allocations: 0.9688 kB / 408.4 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3591, allocations: 2.125 kB / 408.4 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.3593, allocations: 42.66 kB / 408.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3593, allocations: 1.812 kB / 408.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.3594, allocations: 7.141 kB / 408.5 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3594, allocations: 7.312 kB / 408.5 MB, free: 6.984 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: mass2.v = $START.mass2.v mass1.a = $START.mass1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.3595, allocations: 126.3 kB / 408.6 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3595, allocations: 9.281 kB / 408.6 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.3596, allocations: 18.89 kB / 408.6 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3596, allocations: 1.031 kB / 408.6 MB, free: 6.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3596, allocations: 7.938 kB / 408.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3596, allocations: 1.281 kB / 408.6 MB, free: 6.836 MB / 286.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.0005883/0.3602, allocations: 0.5932 MB / 409.2 MB, free: 6.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3602, allocations: 5.062 kB / 409.2 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.3603, allocations: 25.45 kB / 409.3 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.3604, allocations: 24.89 kB / 409.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3605, allocations: 2.625 kB / 409.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007377/0.3612, allocations: 1.275 MB / 410.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3612, allocations: 2.781 kB / 410.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.3616, allocations: 303.9 kB / 410.9 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.3616, allocations: 85.53 kB / 410.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3616, allocations: 1.781 kB / 410.9 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.3617, allocations: 6.125 kB / 410.9 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3618, allocations: 14 kB / 411 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3618, allocations: 11.19 kB / 411 MB, free: 4.613 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.3618, allocations: 92.72 kB / 411.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3619, allocations: 11.94 kB / 411.1 MB, free: 4.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3621, allocations: 30.84 kB / 411.1 MB, free: 4.52 MB / 286.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 (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.0004999/0.3626, allocations: 0.8285 MB / 411.9 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3628, allocations: 97.98 kB / 412 MB, free: 3.734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3629, allocations: 1.25 kB / 412 MB, free: 3.734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.3631, allocations: 162.3 kB / 412.2 MB, free: 3.609 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3634, allocations: 28.64 kB / 412.2 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3646, allocations: 0.886 MB / 413.1 MB, free: 2.938 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3648, allocations: 0.7076 MB / 413.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.3648, allocations: 11.95 kB / 413.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.3649, allocations: 29.59 kB / 413.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3649, allocations: 0 / 413.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.38, allocations: 2.626 MB / 416.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.3802, allocations: 267.3 kB / 416.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.325, allocations: 0 / 416.7 MB, free: 1.645 MB / 286.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/linux/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)