Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial",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.001131/0.001131, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001483/0.001483, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003719/0.003719, allocations: 0.5663 MB / 291.6 MB, free: 1.578 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 352.8 MB, free: 2.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 50.58 MB / 403.4 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial): time 0.2141/0.3303, allocations: 232 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.3305, allocations: 24 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.3305, allocations: 0.5312 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.3306, allocations: 0 / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.769e-05/0.3306, allocations: 1 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.3307, allocations: 6.672 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.3308, allocations: 15.34 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.3308, allocations: 3.516 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.3308, allocations: 8.266 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.3309, allocations: 12.17 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3309, allocations: 1.938 kB / 403.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.3309, allocations: 1.781 kB / 403.7 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.331, allocations: 6.781 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.331, allocations: 35.44 kB / 403.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.975e-05/0.331, allocations: 4.688 kB / 403.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.331, allocations: 4.656 kB / 403.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3311, allocations: 0 / 403.7 MB, free: 9.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.3311, allocations: 0.5312 kB / 403.7 MB, free: 9.801 MB / 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.0002892/0.3314, allocations: 330.5 kB / 404 MB, free: 9.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3314, allocations: 10 kB / 404 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.636e-05/0.3314, allocations: 32.06 kB / 404.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.3315, allocations: 5.641 kB / 404.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.373e-05/0.3316, allocations: 162.4 kB / 404.2 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3316, allocations: 9.062 kB / 404.2 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.3316, allocations: 10.3 kB / 404.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3317, allocations: 42.83 kB / 404.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3317, allocations: 0.5938 kB / 404.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.3317, allocations: 1.188 kB / 404.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3318, allocations: 8.641 kB / 404.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.3318, allocations: 14.59 kB / 404.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.3322, allocations: 293.5 kB / 404.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3323, allocations: 48.47 kB / 404.6 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.3323, allocations: 10.98 kB / 404.7 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.3323, allocations: 3.25 kB / 404.7 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3324, allocations: 36.19 kB / 404.7 MB, free: 8.785 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3324, allocations: 0 / 404.7 MB, free: 8.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004065/0.3328, allocations: 159.1 kB / 404.9 MB, free: 8.648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.3328, allocations: 56.06 kB / 404.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.3329, allocations: 101 kB / 405 MB, free: 8.484 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3329, allocations: 25.7 kB / 405 MB, free: 8.453 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.333, allocations: 86.92 kB / 405.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.333, allocations: 14.7 kB / 405.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.333, allocations: 1.375 kB / 405.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.3331, allocations: 312 kB / 405.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.3331, allocations: 10.14 kB / 405.4 MB, free: 8.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.3331, allocations: 24.67 kB / 405.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.3332, allocations: 9.766 kB / 405.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3332, allocations: 1.953 kB / 405.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00015/0.3333, allocations: 81.66 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3334, allocations: 7.469 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3334, allocations: 0 / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.3335, allocations: 22.88 kB / 405.6 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.3336, allocations: 10.33 kB / 405.6 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008445/0.3345, allocations: 1.246 MB / 406.8 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.3345, allocations: 5.625 kB / 406.9 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.3345, allocations: 1.875 kB / 406.9 MB, free: 6.699 MB / 286.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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.3346, allocations: 120.1 kB / 407 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.3346, allocations: 6.734 kB / 407 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/0.3346, allocations: 7.375 kB / 407 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3346, allocations: 0.625 kB / 407 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3347, allocations: 0.7812 kB / 407 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3347, allocations: 1.391 kB / 407 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.3348, allocations: 167.7 kB / 407.2 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3348, allocations: 0 / 407.2 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.3349, allocations: 3.609 kB / 407.2 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/0.3349, allocations: 16.22 kB / 407.2 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3349, allocations: 4.438 kB / 407.2 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005969/0.3355, allocations: 1.25 MB / 408.4 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3356, allocations: 0.75 kB / 408.4 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.3357, allocations: 176.1 kB / 408.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.3358, allocations: 86.55 kB / 408.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-06/0.3358, allocations: 8 kB / 408.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.882e-05/0.3358, allocations: 0.9062 kB / 408.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.3358, allocations: 3.547 kB / 408.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3359, allocations: 2.547 kB / 408.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.221e-05/0.3359, allocations: 78.83 kB / 408.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3359, allocations: 0 / 408.8 MB, free: 4.777 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3361, allocations: 8.75 kB / 408.8 MB, free: 4.777 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.3365, allocations: 0.7051 MB / 409.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3367, allocations: 141 kB / 409.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3367, allocations: 0 / 409.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3369, allocations: 134.2 kB / 409.8 MB, free: 3.871 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.3371, allocations: 1.844 kB / 409.8 MB, free: 3.871 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.3376, allocations: 438.8 kB / 410.2 MB, free: 3.508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3377, allocations: 0.6812 MB / 410.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.661e-05/0.3378, allocations: 2.078 kB / 410.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.3378, allocations: 12.7 kB / 410.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3378, allocations: 0.9688 kB / 410.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.3506, allocations: 1.335 MB / 412.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.3508, allocations: 284.8 kB / 412.5 MB, free: 2.301 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.161, allocations: 5.922 kB / 412.5 MB, free: 2.301 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedInitial.pipe 2>&1)