Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.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.001319/0.001319, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001566/0.001566, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.793 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.003063/0.003063, allocations: 0.575 MB / 313 MB, free: 2.32 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.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002895/0.002895, allocations: 67.89 kB / 435.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.111, allocations: 53.53 MB / 488.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent): time 0.003167/0.1142, allocations: 1.62 MB / 490.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000338/0.1145, allocations: 91.69 kB / 490.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.1146, allocations: 7.938 kB / 490.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.1147, allocations: 11.86 kB / 490.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1148, allocations: 31.72 kB / 490.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.1149, allocations: 27.95 kB / 490.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.1151, allocations: 103.5 kB / 490.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1152, allocations: 23.98 kB / 490.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.1153, allocations: 43.8 kB / 490.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.1154, allocations: 43.77 kB / 490.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1154, allocations: 8 kB / 490.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.398e-05/0.1154, allocations: 8 kB / 490.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.1154, allocations: 23.92 kB / 490.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.1155, allocations: 39.86 kB / 490.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1157, allocations: 115.8 kB / 490.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1157, allocations: 3.938 kB / 490.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1157, allocations: 0 / 490.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1157, allocations: 0 / 490.8 MB, free: 9.066 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005238/0.1162, allocations: 318.2 kB / 491.1 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1162, allocations: 8.031 kB / 491.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.1163, allocations: 42.75 kB / 491.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1163, allocations: 20.83 kB / 491.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1165, allocations: 126.4 kB / 491.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1165, allocations: 8.562 kB / 491.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.1165, allocations: 16.33 kB / 491.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1167, allocations: 89.78 kB / 491.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1167, allocations: 0 / 491.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1167, allocations: 4 kB / 491.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1167, allocations: 4 kB / 491.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1169, allocations: 55.91 kB / 491.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.1174, allocations: 343.8 kB / 491.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1176, allocations: 94.44 kB / 491.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.1177, allocations: 36.84 kB / 492 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1177, allocations: 4 kB / 492 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1177, allocations: 30.56 kB / 492 MB, free: 7.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1177, allocations: 0 / 492 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001172/0.1189, allocations: 0.5364 MB / 492.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1189, allocations: 55.41 kB / 492.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1191, allocations: 134.8 kB / 492.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1191, allocations: 25.7 kB / 492.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.1192, allocations: 108.3 kB / 492.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.1192, allocations: 59.48 kB / 492.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.1193, allocations: 33.72 kB / 492.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1194, allocations: 322.8 kB / 493.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.1195, allocations: 35.98 kB / 493.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.1196, allocations: 66.55 kB / 493.4 MB, free: 6.281 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass1.v = $START.mass1.v ($START.mass2.v = $START.mass1.v) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: mass2.s = $START.mass2.s ($START.mass1.s + 0.5 * (mass1.L + mass2.L) = $START.mass2.s) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009498/0.1205, allocations: 256.7 kB / 493.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1205, allocations: 3.938 kB / 493.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002996/0.1208, allocations: 162.4 kB / 493.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1209, allocations: 8 kB / 493.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1209, allocations: 0 / 493.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/0.121, allocations: 24.84 kB / 493.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1211, allocations: 31.95 kB / 493.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1227, allocations: 1.512 MB / 495.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.1228, allocations: 0 / 495.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1228, allocations: 8 kB / 495.4 MB, free: 4.145 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: mass1.v = $START.mass1.v mass2.s = $START.mass2.s. 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.0001811/0.123, allocations: 130 kB / 495.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.123, allocations: 11.91 kB / 495.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.123, allocations: 24.84 kB / 495.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.123, allocations: 0 / 495.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.1231, allocations: 4.141 kB / 495.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1231, allocations: 7.969 kB / 495.5 MB, free: 3.965 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.1239, allocations: 456.7 kB / 496 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1239, allocations: 4 kB / 496 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.124, allocations: 23.98 kB / 496 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.39e-05/0.1241, allocations: 20.95 kB / 496 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1241, allocations: 7.938 kB / 496 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1253, allocations: 1.267 MB / 497.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1253, allocations: 3.938 kB / 497.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.1257, allocations: 306.7 kB / 497.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.1257, allocations: 8.172 kB / 497.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1258, allocations: 11.94 kB / 497.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.1258, allocations: 4 kB / 497.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1259, allocations: 23.91 kB / 497.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1259, allocations: 4 kB / 497.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.273e-05/0.126, allocations: 95.66 kB / 497.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.126, allocations: 0 / 497.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.1263, allocations: 28 kB / 497.8 MB, free: 1.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass2.s,mass2.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.0007964/0.1271, allocations: 0.8367 MB / 498.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.1277, allocations: 222.6 kB / 498.8 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1277, allocations: 0 / 498.8 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.1279, allocations: 158.6 kB / 499 MB, free: 244 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1283, allocations: 23.98 kB / 499 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.1307, allocations: 1.87 MB / 0.4891 GB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.1308, allocations: 88.69 kB / 0.4892 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1308, allocations: 13.03 kB / 0.4892 GB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.1309, allocations: 31.42 kB / 0.4893 GB, free: 14.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1309, allocations: 0 / 0.4893 GB, free: 14.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.1673, allocations: 3.575 MB / 0.4928 GB, free: 10.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.23, allocations: 6.812 kB / 0.4928 GB, free: 10.71 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.040080186445266] Failed to read output from testmodel.py, exit status != 0: 12.34513928508386 12.582982361 12.463856501 Calling exit ...