Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.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.001382/0.001382, 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.001714/0.001714, allocations: 216.2 kB / 22.25 MB, free: 5.078 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 8.023 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.002829/0.002829, allocations: 0.5758 MB / 313 MB, free: 2.531 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.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.89 kB / 435.2 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09736, allocations: 53.52 MB / 488.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState): time 0.002878/0.1002, allocations: 1.685 MB / 490.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000278/0.1005, allocations: 95.67 kB / 490.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.1006, allocations: 4 kB / 490.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.831e-05/0.1006, allocations: 11.86 kB / 490.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1007, allocations: 39.7 kB / 490.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.1008, allocations: 23.91 kB / 490.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1011, allocations: 107.5 kB / 490.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1012, allocations: 23.97 kB / 490.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.1013, allocations: 39.92 kB / 490.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.753e-05/0.1014, allocations: 51.72 kB / 490.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1014, allocations: 8 kB / 490.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.1014, allocations: 8 kB / 490.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.1014, allocations: 23.91 kB / 490.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.1015, allocations: 51.73 kB / 490.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1017, allocations: 107.8 kB / 491 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1017, allocations: 4 kB / 491 MB, free: 9.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1017, allocations: 0 / 491 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1017, allocations: 4 kB / 491 MB, free: 9.203 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.0005106/0.1022, allocations: 318.2 kB / 491.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1022, allocations: 8.031 kB / 491.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.1023, allocations: 42.73 kB / 491.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1023, allocations: 12.84 kB / 491.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1025, allocations: 134.4 kB / 491.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1025, allocations: 4.562 kB / 491.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.1025, allocations: 20.31 kB / 491.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1027, allocations: 93.78 kB / 491.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1027, allocations: 0 / 491.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1028, allocations: 0 / 491.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1028, allocations: 7.938 kB / 491.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1029, allocations: 61.47 kB / 491.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.1035, allocations: 355.7 kB / 492 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1037, allocations: 102.5 kB / 492.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.918e-05/0.1037, allocations: 28.86 kB / 492.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1037, allocations: 0 / 492.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1038, allocations: 38.55 kB / 492.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 8.21e-07/0.1038, allocations: 4 kB / 492.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001097/0.1049, allocations: 0.5355 MB / 492.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1049, allocations: 51.41 kB / 492.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.105, allocations: 126.2 kB / 492.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1051, allocations: 29.7 kB / 492.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.1051, allocations: 108.3 kB / 493 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.1052, allocations: 59.48 kB / 493.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.1053, allocations: 37.7 kB / 493.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1054, allocations: 314.8 kB / 493.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.1055, allocations: 35.98 kB / 493.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.1056, allocations: 66.48 kB / 493.5 MB, free: 6.398 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.a = $START.mass2.a ($START.mass1.a = $START.mass2.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.1061, allocations: 222.8 kB / 493.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1061, allocations: 3.938 kB / 493.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002164/0.1063, allocations: 141.8 kB / 493.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1063, allocations: 8 kB / 493.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1063, allocations: 0 / 493.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1064, allocations: 4.031 kB / 493.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.1065, allocations: 39.98 kB / 493.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1065, allocations: 0 / 493.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.1066, allocations: 3.938 kB / 493.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1066, allocations: 4 kB / 493.9 MB, free: 5.969 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.a = $START.mass2.a. 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 (19): * Single equations (assignments): 19 * 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 0.0001375/0.1067, allocations: 137.7 kB / 494.1 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1068, allocations: 7.953 kB / 494.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1068, allocations: 16.78 kB / 494.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1068, allocations: 4 kB / 494.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1068, allocations: 4 kB / 494.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1068, allocations: 3.984 kB / 494.1 MB, free: 5.785 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.0007054/0.1075, allocations: 0.5503 MB / 494.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1075, allocations: 4 kB / 494.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1077, allocations: 36 kB / 494.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.822e-05/0.1078, allocations: 24.78 kB / 494.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1078, allocations: 8 kB / 494.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.1088, allocations: 1.26 MB / 496 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1088, allocations: 0 / 496 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.1092, allocations: 310.8 kB / 496.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.1092, allocations: 7.984 kB / 496.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1092, allocations: 8.062 kB / 496.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.1093, allocations: 4 kB / 496.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1094, allocations: 15.92 kB / 496.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1094, allocations: 4 kB / 496.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.1094, allocations: 95.33 kB / 496.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1094, allocations: 7.938 kB / 496.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1097, allocations: 28 kB / 496.5 MB, free: 3.199 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.0006966/0.1104, allocations: 0.8418 MB / 497.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1106, allocations: 99.89 kB / 497.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.1106, allocations: 4 kB / 497.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.1109, allocations: 161.4 kB / 497.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1112, allocations: 24.3 kB / 497.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1132, allocations: 1.792 MB / 499.4 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1136, allocations: 0.7045 MB / 0.4884 GB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.1136, allocations: 21.02 kB / 0.4884 GB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.1137, allocations: 31.44 kB / 0.4884 GB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1137, allocations: 0 / 0.4884 GB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.1458, allocations: 3.09 MB / 0.4914 GB, free: 12.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.62, allocations: 3.25 kB / 0.4914 GB, free: 12.45 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.402551677078009] Failed to read output from testmodel.py, exit status != 0: 11.723421253962442 11.940575626 11.634300203 Calling exit ...