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.00113/0.00113, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001067/0.001067, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.002596/0.002596, allocations: 0.5544 MB / 290.6 MB, free: 1.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.91 kB / 351.2 MB, free: 2.566 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1031, allocations: 49.6 MB / 400.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedSteadyState): time 0.1879/0.2911, allocations: 1.691 MB / 402.5 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.2913, allocations: 91.95 kB / 402.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.2914, allocations: 2.094 kB / 402.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.763e-05/0.2915, allocations: 12.3 kB / 402.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.2916, allocations: 23.36 kB / 402.6 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.2918, allocations: 21.84 kB / 402.6 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.2919, allocations: 114.5 kB / 402.7 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.2921, allocations: 33.06 kB / 402.7 MB, free: 9.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.2921, allocations: 32.64 kB / 402.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.2922, allocations: 47.89 kB / 402.8 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.2923, allocations: 12.39 kB / 402.8 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.566e-05/0.2923, allocations: 9.906 kB / 402.8 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.2923, allocations: 20.19 kB / 402.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.2924, allocations: 48.28 kB / 402.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.2925, allocations: 108.9 kB / 403 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2926, allocations: 0.7969 kB / 403 MB, free: 9.836 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2926, allocations: 0 / 403 MB, free: 9.836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2926, allocations: 0 / 403 MB, free: 9.836 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.0004242/0.293, allocations: 404.8 kB / 403.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2931, allocations: 10.36 kB / 403.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.2931, allocations: 39.91 kB / 403.5 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.2931, allocations: 15.53 kB / 403.5 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.2933, allocations: 190 kB / 403.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2933, allocations: 7.906 kB / 403.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.2933, allocations: 17.66 kB / 403.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.2935, allocations: 93.22 kB / 403.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2936, allocations: 1.188 kB / 403.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.2936, allocations: 6.984 kB / 403.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2936, allocations: 1.656 kB / 403.8 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.2937, allocations: 64.08 kB / 403.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.2942, allocations: 387.5 kB / 404.2 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.2944, allocations: 98.02 kB / 404.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.2945, allocations: 41.8 kB / 404.4 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.2945, allocations: 6.344 kB / 404.4 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2945, allocations: 31.75 kB / 404.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2945, allocations: 0 / 404.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.000981/0.2955, allocations: 0.6839 MB / 405.1 MB, free: 8.301 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.2955, allocations: 55.19 kB / 405.1 MB, free: 8.238 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.2956, allocations: 128 kB / 405.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.2956, allocations: 27.14 kB / 405.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.2957, allocations: 102.5 kB / 405.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.2957, allocations: 51.12 kB / 405.4 MB, free: 7.957 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.2958, allocations: 34.08 kB / 405.5 MB, free: 7.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.2959, allocations: 321.2 kB / 405.8 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.2959, allocations: 39.89 kB / 405.8 MB, free: 7.594 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.296, allocations: 56.83 kB / 405.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2961, allocations: 104.3 kB / 406 MB, free: 7.496 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2961, allocations: 0 / 406 MB, free: 7.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000181/0.2963, allocations: 149.3 kB / 406.1 MB, free: 7.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2963, allocations: 6.859 kB / 406.1 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2963, allocations: 4.031 kB / 406.1 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2964, allocations: 2.375 kB / 406.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2965, allocations: 38.55 kB / 406.2 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2966, allocations: 2.234 kB / 406.2 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.2966, allocations: 8.766 kB / 406.2 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2966, allocations: 8.094 kB / 406.2 MB, free: 7.395 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 6.375e-05/0.2967, allocations: 120.2 kB / 406.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.2967, allocations: 14.2 kB / 406.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.2968, allocations: 14.75 kB / 406.4 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2968, allocations: 6.281 kB / 406.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.2968, allocations: 0.5156 kB / 406.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2968, allocations: 9.625 kB / 406.4 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.2973, allocations: 0.4942 MB / 406.9 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2973, allocations: 5.062 kB / 406.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.2975, allocations: 23.52 kB / 406.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.2976, allocations: 21.62 kB / 406.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2976, allocations: 1.406 kB / 406.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006743/0.2983, allocations: 1.369 MB / 408.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2983, allocations: 5.578 kB / 408.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.2986, allocations: 304.2 kB / 408.6 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.2986, allocations: 83.95 kB / 408.7 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2986, allocations: 8.859 kB / 408.7 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.2987, allocations: 2.281 kB / 408.7 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.2988, allocations: 23.47 kB / 408.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2988, allocations: 6.188 kB / 408.7 MB, free: 5.043 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.2988, allocations: 93.58 kB / 408.8 MB, free: 4.965 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2988, allocations: 0 / 408.8 MB, free: 4.965 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.2991, allocations: 32 kB / 408.8 MB, free: 4.957 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.0004499/0.2995, allocations: 0.8324 MB / 409.7 MB, free: 4.199 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2997, allocations: 109 kB / 409.8 MB, free: 4.16 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2998, allocations: 128 / 409.8 MB, free: 4.16 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.3, allocations: 168.1 kB / 409.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.3004, allocations: 28.31 kB / 410 MB, free: 4.016 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3019, allocations: 1.814 MB / 411.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.302, allocations: 0.7032 MB / 412.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.3021, allocations: 16.39 kB / 412.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.3022, allocations: 27.62 kB / 412.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3022, allocations: 0 / 412.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.3368, allocations: 2.775 MB / 415.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.337, allocations: 291.2 kB / 415.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.158, allocations: 1.844 kB / 415.6 MB, free: 1.039 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)