Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.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.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState",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.004555/0.004555, allocations: 102 kB / 15.73 MB, free: 6.051 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.001166/0.001166, allocations: 195 kB / 16.68 MB, free: 5.969 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.002763/0.002763, allocations: 0.5659 MB / 291.1 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.144/0.144, allocations: 63.08 kB / 401.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.2296, allocations: 49.59 MB / 451.5 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.001908/0.2316, allocations: 0.5196 MB / 452 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002105/0.2319, allocations: 30.98 kB / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.2319, allocations: 0 / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.232, allocations: 0 / 452.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.232, allocations: 3.938 kB / 452.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.2322, allocations: 3.984 kB / 452.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.2322, allocations: 15.98 kB / 452.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.82e-05/0.2323, allocations: 7.984 kB / 452.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.2324, allocations: 11.94 kB / 452.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.693e-05/0.2324, allocations: 11.92 kB / 452.1 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2325, allocations: 7.938 kB / 452.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.2325, allocations: 0 / 452.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.2325, allocations: 11.98 kB / 452.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.2325, allocations: 3.938 kB / 452.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.127e-05/0.2326, allocations: 15.92 kB / 452.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2326, allocations: 0 / 452.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2326, allocations: 0 / 452.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2326, allocations: 0 / 452.1 MB, free: 5.254 MB / 318.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.0003901/0.233, allocations: 337.8 kB / 452.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2331, allocations: 19.89 kB / 452.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.2331, allocations: 30.75 kB / 452.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.2331, allocations: 4.844 kB / 452.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2333, allocations: 168.4 kB / 452.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2333, allocations: 4.375 kB / 452.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.2333, allocations: 4.375 kB / 452.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.066e-05/0.2334, allocations: 42.25 kB / 452.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2334, allocations: 3.938 kB / 452.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.2334, allocations: 0 / 452.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2334, allocations: 0 / 452.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.2335, allocations: 23.92 kB / 452.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.2338, allocations: 302.5 kB / 453.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.2339, allocations: 42.56 kB / 453.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.234, allocations: 8.859 kB / 453.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.234, allocations: 0 / 453.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.234, allocations: 42.5 kB / 453.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.234, allocations: 4 kB / 453.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003431/0.2344, allocations: 155.7 kB / 453.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2344, allocations: 51.41 kB / 453.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.2345, allocations: 97.84 kB / 453.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2345, allocations: 29.7 kB / 453.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.2345, allocations: 80.14 kB / 453.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.2345, allocations: 15.81 kB / 453.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.2346, allocations: 25.7 kB / 453.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2347, allocations: 318.7 kB / 453.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.2347, allocations: 11.94 kB / 453.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.2348, allocations: 21.7 kB / 454 MB, free: 3.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.2348, allocations: 29.72 kB / 454 MB, free: 3.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2348, allocations: 0 / 454 MB, free: 3.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.319e-05/0.2349, allocations: 69.53 kB / 454.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2349, allocations: 4 kB / 454.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2349, allocations: 4 kB / 454.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.235, allocations: 432 / 454.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.2351, allocations: 19.92 kB / 454.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2351, allocations: 128 / 454.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.2351, allocations: 8 kB / 454.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.2351, allocations: 4 kB / 454.1 MB, free: 3.039 MB / 318.1 MB 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 (6): * Single equations (assignments): 6 * 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.0001177/0.2352, allocations: 117.8 kB / 454.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.2353, allocations: 3.938 kB / 454.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.2353, allocations: 15.48 kB / 454.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2353, allocations: 0 / 454.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2353, allocations: 3.984 kB / 454.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.2353, allocations: 0 / 454.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.2355, allocations: 169.5 kB / 454.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2355, allocations: 0 / 454.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.2355, allocations: 4 kB / 454.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.2357, allocations: 16.84 kB / 454.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2357, allocations: 8 kB / 454.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008653/0.2366, allocations: 1.34 MB / 455.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2366, allocations: 0 / 455.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.2367, allocations: 172.2 kB / 455.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.2368, allocations: 77.11 kB / 456 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.2368, allocations: 11.95 kB / 456 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.2368, allocations: 4 kB / 456 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.2369, allocations: 4.125 kB / 456 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.2369, allocations: 4 kB / 456 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.275e-05/0.2369, allocations: 75.28 kB / 456.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2369, allocations: 0 / 456.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.2371, allocations: 8 kB / 456.1 MB, free: 0.7773 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (x1,v1) * 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 (3): * Single equations (assignments): 2 * 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.0004224/0.2376, allocations: 0.7132 MB / 456.8 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.244e-05/0.2377, allocations: 28.16 kB / 456.9 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2377, allocations: 0 / 456.9 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2379, allocations: 126.9 kB / 457 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.2381, allocations: 4 kB / 457 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.239, allocations: 1.259 MB / 458.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2393, allocations: 0.6807 MB / 458.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.2393, allocations: 4 kB / 458.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.2393, allocations: 11.44 kB / 458.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2393, allocations: 0 / 458.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.2585, allocations: 1.519 MB / 460.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/8.832, allocations: 12.92 kB / 460.5 MB, free: 12.48 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedSteadyState.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState.pipe 2>&1)