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+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.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.007974/0.007974, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001718/0.001718, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.003281/0.003281, allocations: 0.5661 MB / 291.1 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1918/0.1918, allocations: 62.61 kB / 401.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.2836, allocations: 49.6 MB / 451.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.002623/0.2863, allocations: 1.641 MB / 453.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000265/0.2866, allocations: 91.69 kB / 453.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.2866, allocations: 4 kB / 453.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.991e-05/0.2867, allocations: 15.84 kB / 453.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2868, allocations: 31.7 kB / 453.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.2869, allocations: 23.92 kB / 453.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.2871, allocations: 103.5 kB / 453.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2872, allocations: 47.95 kB / 453.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.2873, allocations: 31.92 kB / 453.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.2874, allocations: 43.78 kB / 453.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2874, allocations: 12 kB / 453.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.2875, allocations: 8 kB / 453.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.2875, allocations: 15.92 kB / 453.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.2875, allocations: 51.8 kB / 453.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.2877, allocations: 105.9 kB / 453.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2877, allocations: 0 / 453.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.2877, allocations: 0 / 453.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2877, allocations: 7.938 kB / 453.7 MB, free: 3.645 MB / 318.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.0005503/0.2883, allocations: 399.4 kB / 454.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2883, allocations: 8.031 kB / 454.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.2883, allocations: 38.75 kB / 454.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.2884, allocations: 20.75 kB / 454.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.2886, allocations: 192.2 kB / 454.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2886, allocations: 8.562 kB / 454.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.2886, allocations: 12.38 kB / 454.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.2888, allocations: 94.53 kB / 454.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2888, allocations: 3.906 kB / 454.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2888, allocations: 8 kB / 454.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2888, allocations: 0 / 454.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.289, allocations: 57.47 kB / 454.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.2895, allocations: 384.6 kB / 454.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2896, allocations: 102.5 kB / 455 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.2897, allocations: 44.78 kB / 455.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.2897, allocations: 0 / 455.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2898, allocations: 30.56 kB / 455.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.2898, allocations: 0 / 455.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001013/0.2908, allocations: 0.6914 MB / 455.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2908, allocations: 55.41 kB / 455.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.2909, allocations: 122.9 kB / 456 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.2909, allocations: 25.7 kB / 456 MB, free: 1.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.291, allocations: 108.2 kB / 456.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.2911, allocations: 55.2 kB / 456.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.2911, allocations: 33.7 kB / 456.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.2912, allocations: 322.8 kB / 456.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.2913, allocations: 35.94 kB / 456.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.2913, allocations: 60.8 kB / 456.6 MB, free: 464 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2915, allocations: 102.5 kB / 456.7 MB, free: 352 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2915, allocations: 4 kB / 456.7 MB, free: 348 kB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002359/0.2917, allocations: 166.1 kB / 456.9 MB, free: 176 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2918, allocations: 4 kB / 456.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2918, allocations: 7.984 kB / 456.9 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001261/0.2919, allocations: 24.84 kB / 456.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.292, allocations: 24 kB / 456.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.2932, allocations: 1.615 MB / 458.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.2933, allocations: 4 kB / 458.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2933, allocations: 4.094 kB / 458.6 MB, free: 14.34 MB / 334.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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.2934, allocations: 137.7 kB / 458.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.2934, allocations: 15.75 kB / 458.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.2935, allocations: 12.84 kB / 458.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2935, allocations: 4.141 kB / 458.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2935, allocations: 0 / 458.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.2935, allocations: 7.969 kB / 458.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/0.2941, allocations: 0.5401 MB / 459.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2941, allocations: 0 / 459.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2942, allocations: 35.88 kB / 459.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-05/0.2943, allocations: 20.78 kB / 459.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2943, allocations: 4 kB / 459.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008093/0.2952, allocations: 1.363 MB / 460.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2952, allocations: 4.062 kB / 460.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.2955, allocations: 306.6 kB / 461 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.2955, allocations: 85.05 kB / 461.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2956, allocations: 8.062 kB / 461.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.2956, allocations: 8 kB / 461.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.2957, allocations: 11.92 kB / 461.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2957, allocations: 11.98 kB / 461.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.354e-05/0.2958, allocations: 91.72 kB / 461.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2958, allocations: 0 / 461.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.2961, allocations: 28 kB / 461.2 MB, free: 11.39 MB / 334.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.0005671/0.2966, allocations: 0.8366 MB / 462.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.297, allocations: 226.5 kB / 462.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.297, allocations: 4 kB / 462.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.2972, allocations: 162.6 kB / 462.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2976, allocations: 32.28 kB / 462.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.2994, allocations: 1.847 MB / 464.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2997, allocations: 0.7083 MB / 465 MB, free: 7.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.2998, allocations: 13.08 kB / 465.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.2998, allocations: 31.38 kB / 465.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of SimCode: time 1.413e-06/0.2998, allocations: 0 / 465.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3215, allocations: 2.947 MB / 468 MB, free: 4.621 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.381/9.702, allocations: 20.41 kB / 468 MB, free: 4.602 MB / 334.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/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)