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.002627/0.002627, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002972/0.002971, allocations: 195.2 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.763/2.763, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.006094/0.006093, allocations: 0.5622 MB / 291 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 55.91 kB / 351.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2351, allocations: 49.6 MB / 401.3 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.4845/0.7198, allocations: 1.628 MB / 402.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003526/0.7202, allocations: 94.53 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.7204, allocations: 2.031 kB / 403 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.7206, allocations: 13.75 kB / 403 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.7211, allocations: 34.67 kB / 403 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.7216, allocations: 23.12 kB / 403.1 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.7222, allocations: 108.9 kB / 403.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.7224, allocations: 35.14 kB / 403.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.7225, allocations: 34.38 kB / 403.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.7227, allocations: 45.52 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.7227, allocations: 9.156 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.7228, allocations: 8.5 kB / 403.3 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.7229, allocations: 18.94 kB / 403.3 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.7233, allocations: 51.56 kB / 403.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.7239, allocations: 110.2 kB / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.179e-05/0.724, allocations: 0 / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.101e-06/0.724, allocations: 0 / 403.5 MB, free: 9.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.571e-05/0.7241, allocations: 0.5938 kB / 403.5 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001054/0.7251, allocations: 400.5 kB / 403.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.7252, allocations: 10.03 kB / 403.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.7253, allocations: 43.47 kB / 403.9 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.7253, allocations: 19.03 kB / 403.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.7257, allocations: 184.5 kB / 404.1 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.7258, allocations: 10.7 kB / 404.1 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.7259, allocations: 14.31 kB / 404.1 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.7265, allocations: 96.2 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.7266, allocations: 4.875 kB / 404.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.7266, allocations: 5.922 kB / 404.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.7266, allocations: 2.156 kB / 404.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.727, allocations: 55.62 kB / 404.3 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.7278, allocations: 395.7 kB / 404.7 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.7282, allocations: 95.89 kB / 404.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.7284, allocations: 38.94 kB / 404.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/0.7285, allocations: 2.281 kB / 404.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/0.7286, allocations: 40.23 kB / 404.9 MB, free: 8.609 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 5.22e-06/0.7286, allocations: 0 / 404.9 MB, free: 8.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002928/0.7315, allocations: 0.6818 MB / 405.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.64e-05/0.7317, allocations: 57.59 kB / 405.6 MB, free: 7.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.732, allocations: 128.2 kB / 405.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.7321, allocations: 29.64 kB / 405.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.7323, allocations: 106.7 kB / 405.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.7323, allocations: 50.69 kB / 405.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.7324, allocations: 34.61 kB / 405.9 MB, free: 7.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7325, allocations: 321 kB / 406.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.7326, allocations: 37.03 kB / 406.3 MB, free: 7.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.7327, allocations: 61.78 kB / 406.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.7329, allocations: 107.3 kB / 406.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7329, allocations: 0 / 406.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006402/0.7336, allocations: 162.5 kB / 406.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.7337, allocations: 5 kB / 406.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.7337, allocations: 5.219 kB / 406.6 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004345/0.7342, allocations: 38.17 kB / 406.7 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.7345, allocations: 24.94 kB / 406.7 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.7367, allocations: 1.611 MB / 408.3 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.7369, allocations: 2.859 kB / 408.3 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.737, allocations: 3.375 kB / 408.3 MB, free: 5.488 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 (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.0004632/0.7374, allocations: 144 kB / 408.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.7376, allocations: 9.031 kB / 408.4 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.7376, allocations: 15.56 kB / 408.5 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7376, allocations: 2.438 kB / 408.5 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.7377, allocations: 2.422 kB / 408.5 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7377, allocations: 1.656 kB / 408.5 MB, free: 5.324 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.7388, allocations: 0.5396 MB / 409 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.7388, allocations: 1.5 kB / 409 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.7392, allocations: 31.78 kB / 409 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/0.7395, allocations: 21.88 kB / 409.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/0.7396, allocations: 8.547 kB / 409.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.7414, allocations: 1.37 MB / 410.4 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.7414, allocations: 0.9062 kB / 410.4 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008805/0.7423, allocations: 302.2 kB / 410.7 MB, free: 3.188 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.7425, allocations: 90.66 kB / 410.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.7426, allocations: 2.156 kB / 410.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.7428, allocations: 5.438 kB / 410.8 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.7429, allocations: 13.11 kB / 410.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.743, allocations: 12.44 kB / 410.9 MB, free: 3.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.7432, allocations: 92.64 kB / 410.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.7433, allocations: 1.031 kB / 410.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.7438, allocations: 29.06 kB / 411 MB, free: 2.988 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.0006981/0.7445, allocations: 0.8485 MB / 411.8 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.7456, allocations: 230.2 kB / 412 MB, free: 2.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.7457, allocations: 0 / 412 MB, free: 2.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.7463, allocations: 166.2 kB / 412.2 MB, free: 1.93 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.747, allocations: 27.8 kB / 412.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.751, allocations: 1.836 MB / 414.1 MB, free: 356 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007659/0.7519, allocations: 0.7092 MB / 414.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.7519, allocations: 9.281 kB / 414.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.752, allocations: 28.14 kB / 414.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.752, allocations: 0 / 414.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06046/0.8125, allocations: 2.907 MB / 417.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.86, allocations: 12.59 kB / 417.7 MB, free: 15.2 MB / 302.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)