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.009651/0.009651, allocations: 103 kB / 15.73 MB, free: 6.035 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.002465/0.002466, allocations: 190 kB / 16.67 MB, free: 5.965 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.003035/0.003035, allocations: 0.566 MB / 291.1 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1462/0.1462, allocations: 60.89 kB / 401.9 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.2316, allocations: 49.59 MB / 451.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.003026/0.2346, allocations: 1.641 MB / 453.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003669/0.235, allocations: 103.5 kB / 453.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.2351, allocations: 0 / 453.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.304e-05/0.2352, allocations: 19.86 kB / 453.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.2354, allocations: 31.7 kB / 453.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2355, allocations: 19.98 kB / 453.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.2357, allocations: 111.5 kB / 453.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2358, allocations: 35.95 kB / 453.5 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.2359, allocations: 35.92 kB / 453.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.236, allocations: 47.78 kB / 453.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.236, allocations: 12 kB / 453.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.236, allocations: 8 kB / 453.6 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.2361, allocations: 19.92 kB / 453.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.839e-05/0.2361, allocations: 51.78 kB / 453.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.2363, allocations: 105.9 kB / 453.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2363, allocations: 0 / 453.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2363, allocations: 0 / 453.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2363, allocations: 4 kB / 453.7 MB, free: 3.695 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.0005057/0.2368, allocations: 395.4 kB / 454.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.2369, allocations: 12.03 kB / 454.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.2369, allocations: 38.75 kB / 454.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.237, allocations: 12.75 kB / 454.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.2372, allocations: 196.2 kB / 454.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2372, allocations: 4.562 kB / 454.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2372, allocations: 8.375 kB / 454.4 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2374, allocations: 102.7 kB / 454.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2374, allocations: 7.906 kB / 454.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2375, allocations: 7.938 kB / 454.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2375, allocations: 4 kB / 454.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2376, allocations: 55.97 kB / 454.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.2382, allocations: 376.7 kB / 454.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.2383, allocations: 110.4 kB / 455 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.2384, allocations: 40.84 kB / 455.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.2384, allocations: 3.984 kB / 455.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.2385, allocations: 34.56 kB / 455.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.774e-06/0.2385, allocations: 0 / 455.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001109/0.2396, allocations: 0.6834 MB / 455.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.2396, allocations: 59.34 kB / 455.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.2397, allocations: 123.2 kB / 456 MB, free: 1.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2398, allocations: 25.7 kB / 456 MB, free: 1.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.2398, allocations: 108.2 kB / 456.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.2399, allocations: 59.19 kB / 456.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.2399, allocations: 29.72 kB / 456.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2401, allocations: 318.8 kB / 456.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.2401, allocations: 43.94 kB / 456.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.2402, allocations: 54.56 kB / 456.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2403, allocations: 102 kB / 456.7 MB, free: 404 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2404, allocations: 0 / 456.7 MB, free: 404 kB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002582/0.2406, allocations: 170.3 kB / 456.9 MB, free: 224 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2406, allocations: 8.031 kB / 456.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2407, allocations: 0 / 456.9 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.2408, allocations: 28.84 kB / 456.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.2409, allocations: 31.92 kB / 456.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.2422, allocations: 1.603 MB / 458.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.257e-05/0.2423, allocations: 8.094 kB / 458.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2423, allocations: 8 kB / 458.6 MB, free: 14.38 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.0001056/0.2424, allocations: 121.8 kB / 458.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.2425, allocations: 16.02 kB / 458.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.2425, allocations: 24.83 kB / 458.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2425, allocations: 0 / 458.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.2425, allocations: 11.92 kB / 458.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2426, allocations: 0 / 458.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.2432, allocations: 0.54 MB / 459.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2432, allocations: 4 kB / 459.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.2434, allocations: 23.98 kB / 459.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.421e-05/0.2434, allocations: 20.8 kB / 459.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2435, allocations: 8 kB / 459.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008859/0.2443, allocations: 1.367 MB / 460.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2444, allocations: 0 / 460.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.2447, allocations: 306.7 kB / 461 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.2448, allocations: 85.05 kB / 461.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2448, allocations: 7.984 kB / 461.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.2449, allocations: 4 kB / 461.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.2449, allocations: 19.92 kB / 461.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2449, allocations: 8 kB / 461.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.052e-05/0.245, allocations: 95.27 kB / 461.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.245, allocations: 0 / 461.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.2453, allocations: 32 kB / 461.2 MB, free: 11.43 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.0005857/0.2459, allocations: 0.8323 MB / 462.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.2463, allocations: 229.2 kB / 462.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2463, allocations: 0 / 462.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.2465, allocations: 166.8 kB / 462.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.2469, allocations: 27.59 kB / 462.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.2487, allocations: 1.853 MB / 464.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.249, allocations: 0.7083 MB / 465 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.2491, allocations: 13.08 kB / 465.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.2491, allocations: 27.42 kB / 465.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2491, allocations: 0 / 465.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.2706, allocations: 3.01 MB / 468.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.064/9.334, allocations: 24.34 kB / 468.1 MB, free: 4.59 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)