Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 217.8 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.003559/0.003559, allocations: 0.5675 MB / 313 MB, free: 2.508 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003659/0.003659, allocations: 67.89 kB / 435.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1355, allocations: 53.53 MB / 488.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.00196/0.1374, allocations: 0.5117 MB / 489.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001924/0.1376, allocations: 24.31 kB / 489.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.1377, allocations: 0 / 489.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.1377, allocations: 4 kB / 489.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.507e-05/0.1377, allocations: 3.938 kB / 489.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.1378, allocations: 3.984 kB / 489.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.1379, allocations: 23.97 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.138, allocations: 4 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.138, allocations: 11.94 kB / 489.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.1381, allocations: 7.922 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1381, allocations: 4 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.1381, allocations: 3.938 kB / 489.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.1381, allocations: 4 kB / 489.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1381, allocations: 11.92 kB / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.417e-05/0.1382, allocations: 16.14 kB / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1382, allocations: 4 kB / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1382, allocations: 4 kB / 489.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1382, allocations: 0 / 489.3 MB, free: 10.81 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004413/0.1387, allocations: 258.3 kB / 489.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1387, allocations: 8.031 kB / 489.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.1388, allocations: 38.69 kB / 489.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.1388, allocations: 0.9375 kB / 489.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1389, allocations: 110.5 kB / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1389, allocations: 4.375 kB / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.1389, allocations: 4.375 kB / 489.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1391, allocations: 50.23 kB / 489.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1391, allocations: 3.938 kB / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1391, allocations: 4 kB / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1391, allocations: 0 / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.1392, allocations: 11.94 kB / 489.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1396, allocations: 243.8 kB / 490.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.1397, allocations: 46.62 kB / 490.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.1397, allocations: 8.859 kB / 490.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1397, allocations: 0 / 490.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1398, allocations: 38.56 kB / 490.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1398, allocations: 3.938 kB / 490.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003842/0.1402, allocations: 78.61 kB / 490.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1402, allocations: 59.34 kB / 490.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.1403, allocations: 101.8 kB / 490.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1403, allocations: 29.7 kB / 490.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.1404, allocations: 88.08 kB / 490.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1404, allocations: 15.91 kB / 490.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.1404, allocations: 17.7 kB / 490.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1406, allocations: 318.8 kB / 490.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.1406, allocations: 7.938 kB / 490.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.1406, allocations: 29.7 kB / 490.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/0.1407, allocations: 30.09 kB / 490.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1407, allocations: 0 / 490.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001026/0.1408, allocations: 65.61 kB / 491 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1408, allocations: 4 kB / 491 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1408, allocations: 4 kB / 491 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1408, allocations: 0 / 491 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.1409, allocations: 11.98 kB / 491 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1409, allocations: 11.97 kB / 491 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.364e-05/0.141, allocations: 7.953 kB / 491 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-06/0.141, allocations: 0 / 491 MB, free: 8.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 8.826e-05/0.141, allocations: 113.8 kB / 491.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1411, allocations: 0 / 491.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.1411, allocations: 7.688 kB / 491.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1411, allocations: 7.938 kB / 491.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1411, allocations: 0 / 491.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1411, allocations: 3.984 kB / 491.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1413, allocations: 140.6 kB / 491.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1413, allocations: 0 / 491.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.1413, allocations: 4 kB / 491.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.1415, allocations: 16.84 kB / 491.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1415, allocations: 4 kB / 491.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.1425, allocations: 1.248 MB / 492.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1425, allocations: 0 / 492.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.1427, allocations: 172.5 kB / 492.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-06/0.1427, allocations: 7.984 kB / 492.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.1428, allocations: 4 kB / 492.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.1428, allocations: 3.938 kB / 492.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1428, allocations: 7.922 kB / 492.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.1428, allocations: 4 kB / 492.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.1429, allocations: 79.36 kB / 492.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1429, allocations: 0 / 492.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1431, allocations: 12 kB / 492.9 MB, free: 6.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0005296/0.1436, allocations: 0.7029 MB / 493.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1437, allocations: 23.98 kB / 493.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1437, allocations: 0 / 493.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.1439, allocations: 130.8 kB / 493.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.1442, allocations: 4 kB / 493.7 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1453, allocations: 1.251 MB / 495 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1456, allocations: 0.6807 MB / 495.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.1457, allocations: 0 / 495.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.1457, allocations: 15.44 kB / 495.7 MB, free: 3.941 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1457, allocations: 4 kB / 495.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.1768, allocations: 1.524 MB / 497.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.56, allocations: 7.984 kB / 497.2 MB, free: 2.586 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.305291942087933] Failed to read output from testmodel.py, exit status != 0: 11.666506613139063 11.692817961 11.549533942 Calling exit ...