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.001909/0.001909, 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.002151/0.002151, 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.524/1.524, 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.00391/0.00391, allocations: 0.5854 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.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.002154/0.002154, allocations: 63.91 kB / 435.9 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1084, allocations: 53.52 MB / 489.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001856/0.1102, allocations: 0.5316 MB / 489.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.1104, allocations: 31.91 kB / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.1105, allocations: 0 / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.1105, allocations: 3.938 kB / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.402e-05/0.1105, allocations: 4 kB / 490 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.1107, allocations: 0 / 490 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.1108, allocations: 15.98 kB / 490 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.386e-05/0.1108, allocations: 15.91 kB / 490 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.1108, allocations: 11.94 kB / 490 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.1109, allocations: 3.984 kB / 490 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1109, allocations: 8 kB / 490 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/0.1109, allocations: 0 / 490 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.111, allocations: 7.938 kB / 490 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.111, allocations: 7.938 kB / 490.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.185e-05/0.1111, allocations: 16.19 kB / 490.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1111, allocations: 0 / 490.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1111, allocations: 0 / 490.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1111, allocations: 0 / 490.1 MB, free: 10.62 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.0005111/0.1116, allocations: 266.3 kB / 490.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1117, allocations: 8.031 kB / 490.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.441e-05/0.1117, allocations: 8.188 kB / 490.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1117, allocations: 34.75 kB / 490.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.1117, allocations: 4.875 kB / 490.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1119, allocations: 110.5 kB / 490.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1119, allocations: 384 / 490.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1119, allocations: 4.375 kB / 490.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.112, allocations: 53.94 kB / 490.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1121, allocations: 0 / 490.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1121, allocations: 0 / 490.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1121, allocations: 4 kB / 490.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.547e-05/0.1122, allocations: 15.98 kB / 490.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.1125, allocations: 228 kB / 490.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1127, allocations: 54.44 kB / 490.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.1127, allocations: 16.98 kB / 490.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1127, allocations: 0 / 490.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1127, allocations: 30.56 kB / 490.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1127, allocations: 4 kB / 490.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007917/0.1135, allocations: 351.9 kB / 491.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1136, allocations: 55.39 kB / 491.3 MB, free: 9.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1137, allocations: 105.8 kB / 491.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1137, allocations: 33.64 kB / 491.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.1138, allocations: 84.14 kB / 491.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.1138, allocations: 31.73 kB / 491.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.1139, allocations: 17.72 kB / 491.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.114, allocations: 322.8 kB / 491.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.114, allocations: 12 kB / 491.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.1141, allocations: 29.7 kB / 491.9 MB, free: 8.523 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.0003803/0.1145, allocations: 106.4 kB / 492 MB, free: 8.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1145, allocations: 4 kB / 492 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.1147, allocations: 94.47 kB / 492.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1147, allocations: 4 kB / 492.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1147, allocations: 3.938 kB / 492.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/0.1148, allocations: 20.84 kB / 492.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.1149, allocations: 11.94 kB / 492.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.1162, allocations: 1.279 MB / 493.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.395e-05/0.1162, allocations: 4.031 kB / 493.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1162, allocations: 4.062 kB / 493.4 MB, free: 6.859 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.0001312/0.1163, allocations: 121.7 kB / 493.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.1163, allocations: 8.141 kB / 493.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.1164, allocations: 8.062 kB / 493.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1164, allocations: 3.984 kB / 493.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1164, allocations: 0 / 493.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1164, allocations: 0 / 493.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1169, allocations: 345.2 kB / 493.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1169, allocations: 3.938 kB / 493.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.1169, allocations: 12 kB / 493.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.758e-05/0.117, allocations: 24.84 kB / 494 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.117, allocations: 0 / 494 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.1181, allocations: 1.283 MB / 495.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1181, allocations: 0 / 495.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.1184, allocations: 227.3 kB / 495.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.1184, allocations: 4.031 kB / 495.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1184, allocations: 7.922 kB / 495.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.1185, allocations: 8 kB / 495.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.1185, allocations: 11.92 kB / 495.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1185, allocations: 96 / 495.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.1186, allocations: 87.34 kB / 495.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1186, allocations: 0 / 495.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1188, allocations: 12 kB / 495.6 MB, free: 4.492 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.0006627/0.1195, allocations: 0.7627 MB / 496.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.1199, allocations: 166.6 kB / 496.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1199, allocations: 0 / 496.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.1201, allocations: 142.6 kB / 496.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.1203, allocations: 4 kB / 496.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.1218, allocations: 1.41 MB / 498.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.078e-05/0.1219, allocations: 71.28 kB / 498.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.125e-05/0.1219, allocations: 7.984 kB / 498.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1219, allocations: 7.438 kB / 498.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1219, allocations: 4 kB / 498.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.1487, allocations: 1.916 MB / 0.4884 GB, free: 16 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.58, allocations: 14.22 kB / 0.4884 GB, free: 8 kB / 350.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.281421724008396] Failed to read output from testmodel.py, exit status != 0: 12.741260031005368 12.759809688 12.645693085 Calling exit ...