Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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.001323/0.001323, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001635/0.001635, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.003567/0.003567, allocations: 0.5816 MB / 313.8 MB, free: 2.312 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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 71.91 kB / 435.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1208, allocations: 53.52 MB / 489.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.001984/0.1227, allocations: 0.5145 MB / 489.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001762/0.1229, allocations: 19.92 kB / 489.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.1229, allocations: 0 / 489.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.123, allocations: 3.938 kB / 489.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.123, allocations: 4 kB / 490 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.1231, allocations: 3.984 kB / 490 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.1232, allocations: 19.97 kB / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.1233, allocations: 4.344 kB / 490 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.1233, allocations: 11.94 kB / 490 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.1234, allocations: 7.984 kB / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1234, allocations: 4 kB / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.1234, allocations: 4 kB / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.1234, allocations: 3.938 kB / 490 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.1234, allocations: 11.98 kB / 490 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.1235, allocations: 16.12 kB / 490 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1235, allocations: 4 kB / 490 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1235, allocations: 0 / 490 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.1235, allocations: 0 / 490 MB, free: 10.64 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.000415/0.1239, allocations: 254.4 kB / 490.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.124, allocations: 8.031 kB / 490.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.882e-05/0.124, allocations: 12.19 kB / 490.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.883e-05/0.124, allocations: 34.75 kB / 490.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.1241, allocations: 0.9375 kB / 490.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1242, allocations: 110.5 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1242, allocations: 4.312 kB / 490.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1242, allocations: 12.36 kB / 490.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1243, allocations: 49.94 kB / 490.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1244, allocations: 0 / 490.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1244, allocations: 0 / 490.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.1244, allocations: 3.938 kB / 490.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.1244, allocations: 15.98 kB / 490.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.1248, allocations: 243.9 kB / 490.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1249, allocations: 46.5 kB / 490.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.125, allocations: 8.859 kB / 490.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.125, allocations: 0 / 490.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.125, allocations: 34.56 kB / 490.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.125, allocations: 0 / 490.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.00039/0.1254, allocations: 86.55 kB / 490.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1254, allocations: 51.41 kB / 491 MB, free: 9.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.1255, allocations: 94.19 kB / 491.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1255, allocations: 29.7 kB / 491.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1256, allocations: 96.08 kB / 491.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1256, allocations: 11.89 kB / 491.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1256, allocations: 17.72 kB / 491.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1258, allocations: 326.8 kB / 491.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.1258, allocations: 4 kB / 491.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.1258, allocations: 21.72 kB / 491.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.776e-05/0.1259, allocations: 37.73 kB / 491.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1259, allocations: 3.938 kB / 491.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001415/0.126, allocations: 70.55 kB / 491.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1261, allocations: 4 kB / 491.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1261, allocations: 0 / 491.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.1262, allocations: 24.78 kB / 491.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.1263, allocations: 8 kB / 491.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.1273, allocations: 1.248 MB / 493 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.1273, allocations: 8.062 kB / 493 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1274, allocations: 4.031 kB / 493 MB, free: 7.359 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 (5): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.896e-05/0.1274, allocations: 113.7 kB / 493.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1275, allocations: 4 kB / 493.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.1275, allocations: 11.62 kB / 493.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1275, allocations: 0 / 493.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1275, allocations: 0 / 493.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1275, allocations: 3.984 kB / 493.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1276, allocations: 132.7 kB / 493.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1276, allocations: 4 kB / 493.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1277, allocations: 7.984 kB / 493.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.586e-05/0.1277, allocations: 12.86 kB / 493.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.1278, allocations: 4 kB / 493.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009678/0.1287, allocations: 1.244 MB / 494.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1287, allocations: 0 / 494.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.1289, allocations: 176.5 kB / 494.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.1289, allocations: 11.95 kB / 494.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1289, allocations: 3.938 kB / 494.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.129, allocations: 0 / 494.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.129, allocations: 8 kB / 494.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.129, allocations: 0 / 494.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.1291, allocations: 83.27 kB / 494.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1291, allocations: 0 / 494.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.1293, allocations: 4 kB / 494.8 MB, free: 5.355 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.000546/0.1298, allocations: 0.7094 MB / 495.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1301, allocations: 138.7 kB / 495.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1301, allocations: 0 / 495.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1303, allocations: 130.6 kB / 495.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1305, allocations: 0 / 495.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1317, allocations: 1.288 MB / 497.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.1318, allocations: 71.45 kB / 497.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.778e-05/0.1318, allocations: 0 / 497.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.1319, allocations: 11.44 kB / 497.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1319, allocations: 0 / 497.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1579, allocations: 1.687 MB / 498.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/11.88, allocations: 11.98 kB / 498.8 MB, free: 1.348 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.50919864908792] Failed to read output from testmodel.py, exit status != 0: 12.04502451105509 12.062724237 11.93606206 Calling exit ...