Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.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.001292/0.001292, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001476/0.001476, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002935/0.002935, allocations: 0.5759 MB / 313.8 MB, free: 2.512 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.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 59.91 kB / 436 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1201, allocations: 53.52 MB / 489.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001615/0.1217, allocations: 0.5355 MB / 490 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001547/0.1219, allocations: 31.89 kB / 490.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1219, allocations: 0 / 490.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.1219, allocations: 3.938 kB / 490.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.778e-05/0.1219, allocations: 0 / 490.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.1221, allocations: 8 kB / 490.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.1221, allocations: 19.92 kB / 490.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.1222, allocations: 4 kB / 490.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.1222, allocations: 15.91 kB / 490.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.1223, allocations: 15.92 kB / 490.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1223, allocations: 4 kB / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.1223, allocations: 0 / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1223, allocations: 4 kB / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1223, allocations: 7.938 kB / 490.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.248e-05/0.1224, allocations: 20.12 kB / 490.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1224, allocations: 0 / 490.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1224, allocations: 0 / 490.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1224, allocations: 0 / 490.2 MB, free: 10.8 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.0003921/0.1228, allocations: 262.4 kB / 490.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1228, allocations: 12.03 kB / 490.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.676e-05/0.1228, allocations: 4.172 kB / 490.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.1229, allocations: 30.75 kB / 490.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1229, allocations: 4.938 kB / 490.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.123, allocations: 106.5 kB / 490.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.123, allocations: 4.375 kB / 490.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.123, allocations: 8.312 kB / 490.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1231, allocations: 50 kB / 490.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1231, allocations: 4 kB / 490.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.1232, allocations: 0 / 490.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1232, allocations: 0 / 490.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.1232, allocations: 15.98 kB / 490.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.1235, allocations: 224 kB / 490.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1236, allocations: 54.44 kB / 490.9 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.1237, allocations: 20.98 kB / 490.9 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1237, allocations: 3.984 kB / 490.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1237, allocations: 42.48 kB / 491 MB, free: 9.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.1237, allocations: 0 / 491 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006779/0.1244, allocations: 359.9 kB / 491.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1244, allocations: 55.41 kB / 491.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.1245, allocations: 101.8 kB / 491.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1245, allocations: 29.7 kB / 491.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.1246, allocations: 88.12 kB / 491.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.1246, allocations: 27.75 kB / 491.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1247, allocations: 21.7 kB / 491.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1248, allocations: 318.8 kB / 492 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.1248, allocations: 15.98 kB / 492 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.1249, allocations: 33.66 kB / 492 MB, free: 8.695 MB / 350.1 MB Error: The initialization problem is inconsistent due to the following equation: x1 = 0.0 (1.0 = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.1252, allocations: 89.69 kB / 492.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1252, allocations: 0 / 492.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001718/0.1253, allocations: 94.47 kB / 492.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1254, allocations: 4 kB / 492.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1254, allocations: 11.94 kB / 492.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.1255, allocations: 16.84 kB / 492.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.1255, allocations: 19.92 kB / 492.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.1267, allocations: 1.281 MB / 493.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.1267, allocations: 0 / 493.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1267, allocations: 8.031 kB / 493.5 MB, free: 7.039 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: x1 = 0.0 v1 = 0.0. 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 (8): * Single equations (assignments): 7 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.1268, allocations: 121.8 kB / 493.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1268, allocations: 3.953 kB / 493.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.1269, allocations: 12.12 kB / 493.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1269, allocations: 4 kB / 493.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1269, allocations: 0 / 493.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1269, allocations: 0 / 493.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.1273, allocations: 340.9 kB / 494 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1274, allocations: 3.938 kB / 494 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.1274, allocations: 12.09 kB / 494 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.221e-05/0.1275, allocations: 20.84 kB / 494 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1275, allocations: 4 kB / 494 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.1285, allocations: 1.287 MB / 495.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1285, allocations: 7.969 kB / 495.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1288, allocations: 230.9 kB / 495.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.1288, allocations: 4 kB / 495.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.1288, allocations: 7.938 kB / 495.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.1289, allocations: 3.938 kB / 495.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.1289, allocations: 7.984 kB / 495.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1289, allocations: 8 kB / 495.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.1289, allocations: 79.27 kB / 495.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.129, allocations: 0 / 495.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1292, allocations: 12 kB / 495.7 MB, free: 4.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (x2,v2) * 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 (6): * Single equations (assignments): 5 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005751/0.1298, allocations: 0.7671 MB / 496.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.1301, allocations: 158.6 kB / 496.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1301, allocations: 4 kB / 496.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.1303, allocations: 142.6 kB / 496.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.1305, allocations: 8 kB / 496.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.1318, allocations: 1.402 MB / 498.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1322, allocations: 0.6884 MB / 498.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.051e-05/0.1322, allocations: 7.984 kB / 498.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.1323, allocations: 15.44 kB / 498.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1323, allocations: 0 / 498.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.1597, allocations: 1.875 MB / 0.489 GB, free: 15.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.43, allocations: 14.48 kB / 0.489 GB, free: 15.6 MB / 366.1 MB " [Timeout remaining time 647] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.032115207053721] Failed to read output from testmodel.py, exit status != 0: 12.600000726000872 12.630468829 12.502266525 Calling exit ...