Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.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.001312/0.001312, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001599/0.001599, allocations: 214.2 kB / 22.25 MB, free: 5.129 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.41/1.41, allocations: 230.6 MB / 256 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.00285/0.00285, allocations: 0.5699 MB / 313 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.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.91 kB / 435.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09908, allocations: 53.53 MB / 488.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState): time 0.001652/0.1007, allocations: 0.5079 MB / 489.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.1009, allocations: 28.3 kB / 489.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.1009, allocations: 0 / 489.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.1009, allocations: 3.938 kB / 489.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.101, allocations: 4 kB / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.1011, allocations: 7.984 kB / 489.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.927e-05/0.1012, allocations: 19.92 kB / 489.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1012, allocations: 4 kB / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.1013, allocations: 15.86 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.059e-05/0.1013, allocations: 19.92 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1013, allocations: 0 / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.1013, allocations: 0 / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.1014, allocations: 4 kB / 489.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.1014, allocations: 19.91 kB / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.134e-05/0.1015, allocations: 16.14 kB / 489.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1015, allocations: 0 / 489.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1015, allocations: 0 / 489.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1015, allocations: 0 / 489.4 MB, free: 10.82 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.0003997/0.1019, allocations: 258.4 kB / 489.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1019, allocations: 8.031 kB / 489.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.102, allocations: 38.75 kB / 489.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.102, allocations: 0.9375 kB / 489.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1021, allocations: 114.5 kB / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1021, allocations: 384 / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1021, allocations: 8.375 kB / 489.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1022, allocations: 46.19 kB / 489.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1022, allocations: 3.938 kB / 489.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.1023, allocations: 0 / 489.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1023, allocations: 8 kB / 489.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.1023, allocations: 15.98 kB / 489.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1026, allocations: 215.9 kB / 490.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.1027, allocations: 62.5 kB / 490.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.1028, allocations: 16.97 kB / 490.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1028, allocations: 4 kB / 490.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.484e-05/0.1028, allocations: 38.56 kB / 490.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.765e-06/0.1028, allocations: 3.984 kB / 490.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006793/0.1035, allocations: 351.9 kB / 490.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1036, allocations: 55.41 kB / 490.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/0.1036, allocations: 101.8 kB / 490.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1037, allocations: 33.64 kB / 490.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.1037, allocations: 80.14 kB / 490.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.1037, allocations: 31.73 kB / 490.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1038, allocations: 25.72 kB / 490.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1039, allocations: 318.8 kB / 491.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.104, allocations: 12 kB / 491.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-05/0.104, allocations: 37.64 kB / 491.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.1043, allocations: 101.8 kB / 491.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1043, allocations: 0 / 491.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001125/0.1044, allocations: 78.5 kB / 491.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1044, allocations: 8 kB / 491.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1044, allocations: 0 / 491.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1044, allocations: 0 / 491.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1045, allocations: 19.98 kB / 491.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.1045, allocations: 4 kB / 491.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.1045, allocations: 3.938 kB / 491.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.1046, allocations: 4 kB / 491.4 MB, free: 8.496 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: $DER.v1 = 0.0 $DER.x1 = 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 (10): * Single equations (assignments): 10 * 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.0001523/0.1047, allocations: 121.8 kB / 491.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1047, allocations: 3.953 kB / 491.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.1048, allocations: 16.05 kB / 491.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1048, allocations: 0 / 491.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1048, allocations: 0 / 491.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1048, allocations: 7.938 kB / 491.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.1052, allocations: 344.9 kB / 491.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1052, allocations: 0 / 491.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.1053, allocations: 8 kB / 491.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.1054, allocations: 24.84 kB / 491.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1054, allocations: 0 / 491.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1065, allocations: 1.288 MB / 493.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1065, allocations: 4.062 kB / 493.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1067, allocations: 218.8 kB / 493.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.1067, allocations: 11.89 kB / 493.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.1067, allocations: 7.969 kB / 493.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.1068, allocations: 4.062 kB / 493.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.1068, allocations: 11.92 kB / 493.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1068, allocations: 8 kB / 493.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.946e-05/0.1069, allocations: 75.28 kB / 493.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1069, allocations: 0 / 493.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1071, allocations: 12 kB / 493.6 MB, free: 6.121 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.0005863/0.1077, allocations: 0.7509 MB / 494.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1078, allocations: 51.97 kB / 494.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1078, allocations: 160 / 494.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.108, allocations: 150.5 kB / 494.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1083, allocations: 11.98 kB / 494.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1095, allocations: 1.35 MB / 495.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1099, allocations: 0.6884 MB / 496.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.173e-05/0.1099, allocations: 3.984 kB / 496.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1099, allocations: 15.44 kB / 496.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1099, allocations: 0 / 496.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.1491, allocations: 1.724 MB / 498.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.64, allocations: 13.73 kB / 498.3 MB, free: 1.359 MB / 350.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.322424182901159] Failed to read output from testmodel.py, exit status != 0: 11.737249245168641 11.757080174 11.651710388 Calling exit ...