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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 198.1 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 0.5688 MB / 290.5 MB, free: 1.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 55.91 kB / 351 MB, free: 2.699 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08363/0.0847, allocations: 49.6 MB / 400.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent): time 0.001515/0.08625, allocations: 0.5833 MB / 401.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.08641, allocations: 27.89 kB / 401.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.08644, allocations: 0 / 401.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.08646, allocations: 0 / 401.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.658e-05/0.08649, allocations: 4 kB / 401.2 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.0866, allocations: 4 kB / 401.2 MB, free: 452 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.08666, allocations: 23.91 kB / 401.2 MB, free: 428 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.08671, allocations: 4 kB / 401.2 MB, free: 424 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.08673, allocations: 11.92 kB / 401.2 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.08679, allocations: 15.92 kB / 401.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.08681, allocations: 0 / 401.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.08682, allocations: 0 / 401.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.08684, allocations: 4 kB / 401.3 MB, free: 392 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.08687, allocations: 11.94 kB / 401.3 MB, free: 380 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.612e-05/0.08692, allocations: 15.91 kB / 401.3 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.08693, allocations: 0 / 401.3 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.08693, allocations: 0 / 401.3 MB, free: 364 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.08694, allocations: 0 / 401.3 MB, free: 364 kB / 286.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.1281/0.2151, allocations: 339.3 kB / 401.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2151, allocations: 10.08 kB / 401.6 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.242e-05/0.2152, allocations: 32.58 kB / 401.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.2152, allocations: 3.156 kB / 401.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.658e-05/0.2153, allocations: 164.3 kB / 401.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.2153, allocations: 6.969 kB / 401.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2153, allocations: 3.656 kB / 401.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/0.2154, allocations: 52.17 kB / 401.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2154, allocations: 3.938 kB / 401.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.2154, allocations: 1.031 kB / 401.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2154, allocations: 1.703 kB / 401.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.2155, allocations: 16.58 kB / 401.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.2157, allocations: 246.7 kB / 402.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.2158, allocations: 63.84 kB / 402.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.2158, allocations: 19.52 kB / 402.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.2158, allocations: 1.406 kB / 402.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.2158, allocations: 38.58 kB / 402.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2158, allocations: 0.5312 kB / 402.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005099/0.2164, allocations: 0.5027 MB / 402.8 MB, free: 9.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.772e-05/0.2164, allocations: 51.41 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.562e-05/0.2164, allocations: 97.66 kB / 402.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.2164, allocations: 35.33 kB / 402.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.2165, allocations: 80.89 kB / 403 MB, free: 9.449 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2165, allocations: 32.03 kB / 403.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.2165, allocations: 22.05 kB / 403.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.121e-05/0.2166, allocations: 322.2 kB / 403.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.2166, allocations: 14.16 kB / 403.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.2166, allocations: 32.16 kB / 403.4 MB, free: 9.082 MB / 286.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.0002831/0.2169, allocations: 254.7 kB / 403.7 MB, free: 8.871 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2169, allocations: 0.7812 kB / 403.7 MB, free: 8.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000132/0.2171, allocations: 99.73 kB / 403.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2171, allocations: 6.594 kB / 403.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2171, allocations: 0 / 403.8 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.424e-05/0.2172, allocations: 22.72 kB / 403.8 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.2172, allocations: 11.81 kB / 403.8 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005744/0.2178, allocations: 1.284 MB / 405.1 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.2179, allocations: 8.141 kB / 405.1 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2179, allocations: 1.906 kB / 405.1 MB, free: 7.547 MB / 286.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 5.092e-05/0.2179, allocations: 120.7 kB / 405.2 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.218, allocations: 10.31 kB / 405.2 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.218, allocations: 7.938 kB / 405.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.218, allocations: 1.125 kB / 405.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.218, allocations: 1.094 kB / 405.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.218, allocations: 0.75 kB / 405.3 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.2183, allocations: 378 kB / 405.6 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2183, allocations: 5.25 kB / 405.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.2184, allocations: 8.438 kB / 405.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.064e-05/0.2184, allocations: 23 kB / 405.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2184, allocations: 1.5 kB / 405.7 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005032/0.2189, allocations: 1.291 MB / 407 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.219, allocations: 2.562 kB / 407 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.2191, allocations: 235.8 kB / 407.2 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.2192, allocations: 84.55 kB / 407.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.2192, allocations: 1.797 kB / 407.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.2192, allocations: 3.75 kB / 407.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.2193, allocations: 10.73 kB / 407.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.2193, allocations: 2.812 kB / 407.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 1.617e-05/0.2193, allocations: 83.19 kB / 407.4 MB, free: 5.438 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2193, allocations: 4.062 kB / 407.4 MB, free: 5.434 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.2195, allocations: 14 kB / 407.4 MB, free: 5.434 MB / 286.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.0002779/0.2198, allocations: 0.7576 MB / 408.1 MB, free: 4.734 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.22, allocations: 161.5 kB / 408.3 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.22, allocations: 0 / 408.3 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2202, allocations: 148.8 kB / 408.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2204, allocations: 7.797 kB / 408.5 MB, free: 4.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.2212, allocations: 1.398 MB / 409.9 MB, free: 3.164 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.211e-05/0.2213, allocations: 0.6884 MB / 410.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.2213, allocations: 2.422 kB / 410.5 MB, free: 2.469 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.2214, allocations: 15.64 kB / 410.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2214, allocations: 0 / 410.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/0.3969, allocations: 1.64 MB / 412.2 MB, free: 2.184 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.3971, allocations: 313.5 kB / 412.5 MB, free: 1.805 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.986, allocations: 0 / 412.5 MB, free: 1.805 MB / 286.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Mechanical_TwoMassesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Mechanical.TwoMassesEquationsFullInitialInconsistent.pipe 2>&1)