Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.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.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial",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.001269/0.001269, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.00123/0.00123, allocations: 177.3 kB / 15.94 MB, free: 228 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.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002229/0.00223, allocations: 0.5352 MB / 291.5 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004037, allocations: 12 kB / 352.7 MB, free: 2.754 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 50.56 MB / 403.2 MB, free: 148 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial): time 0.2577/0.3727, allocations: 1.28 MB / 404.5 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.3732, allocations: 97.48 kB / 404.6 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.3732, allocations: 9.906 kB / 404.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.857e-05/0.3733, allocations: 14.16 kB / 404.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.3735, allocations: 27.48 kB / 404.7 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.3736, allocations: 18.73 kB / 404.7 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3738, allocations: 71.94 kB / 404.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.374, allocations: 31.34 kB / 404.8 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.336e-05/0.3741, allocations: 31.75 kB / 404.8 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3742, allocations: 39.94 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.3742, allocations: 4.781 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.836e-05/0.3743, allocations: 6.844 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.3743, allocations: 12.09 kB / 404.9 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.3744, allocations: 48.06 kB / 404.9 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.3746, allocations: 80.55 kB / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3746, allocations: 0 / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3746, allocations: 0 / 405 MB, free: 9.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3746, allocations: 0 / 405 MB, free: 9.711 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005436/0.3751, allocations: 380.7 kB / 405.4 MB, free: 9.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.3752, allocations: 8.938 kB / 405.4 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.3753, allocations: 54.3 kB / 405.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3753, allocations: 9.375 kB / 405.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3755, allocations: 186.8 kB / 405.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3755, allocations: 7.281 kB / 405.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.3756, allocations: 10.45 kB / 405.6 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.3759, allocations: 96.58 kB / 405.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.3759, allocations: 1.875 kB / 405.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.376, allocations: 3.062 kB / 405.7 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.376, allocations: 7.031 kB / 405.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3762, allocations: 60.69 kB / 405.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.3769, allocations: 393 kB / 406.2 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.3771, allocations: 97.03 kB / 406.3 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3771, allocations: 1.5 kB / 406.3 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3771, allocations: 39.5 kB / 406.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.3772, allocations: 0 / 406.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.001209/0.3784, allocations: 0.6887 MB / 407 MB, free: 8.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3784, allocations: 53.69 kB / 407.1 MB, free: 8.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.3785, allocations: 123.1 kB / 407.2 MB, free: 7.906 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3785, allocations: 31.59 kB / 407.2 MB, free: 7.871 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.3786, allocations: 94.31 kB / 407.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.3786, allocations: 59.73 kB / 407.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.3787, allocations: 5.031 kB / 407.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.3788, allocations: 320.5 kB / 407.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.3788, allocations: 33.42 kB / 407.7 MB, free: 7.398 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.3789, allocations: 53.86 kB / 407.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.279e-05/0.379, allocations: 46.47 kB / 407.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.379, allocations: 0 / 407.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002778/0.3793, allocations: 166.1 kB / 408 MB, free: 7.246 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3793, allocations: 7.656 kB / 408 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3793, allocations: 1.031 kB / 408 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.3795, allocations: 32.03 kB / 408 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3796, allocations: 26.06 kB / 408 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3809, allocations: 1.46 MB / 409.5 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.381, allocations: 9.406 kB / 409.5 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.381, allocations: 4.344 kB / 409.5 MB, free: 5.777 MB / 286.1 MB 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 (16): * Single equations (assignments): 15 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3811, allocations: 130.2 kB / 409.7 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.3812, allocations: 9.562 kB / 409.7 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3812, allocations: 18.25 kB / 409.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3812, allocations: 1.531 kB / 409.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3812, allocations: 1.531 kB / 409.7 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.3812, allocations: 7.469 kB / 409.7 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.3819, allocations: 0.5403 MB / 410.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3819, allocations: 1.688 kB / 410.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.382, allocations: 31.33 kB / 410.3 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.494e-05/0.3821, allocations: 21.73 kB / 410.3 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3821, allocations: 6.344 kB / 410.3 MB, free: 5.117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006562/0.3828, allocations: 1.274 MB / 411.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3828, allocations: 1.531 kB / 411.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.3832, allocations: 333.8 kB / 411.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.3832, allocations: 85.14 kB / 412 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3832, allocations: 14.58 kB / 412 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.3833, allocations: 1.562 kB / 412 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.3834, allocations: 14.66 kB / 412 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.3834, allocations: 3.453 kB / 412 MB, free: 3.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.716e-05/0.3834, allocations: 101 kB / 412.1 MB, free: 3.336 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3834, allocations: 0 / 412.1 MB, free: 3.336 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.3837, allocations: 29.31 kB / 412.1 MB, free: 3.332 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass1.s,mass1.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 (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.0005338/0.3843, allocations: 1.071 MB / 413.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.3847, allocations: 217.9 kB / 413.4 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3847, allocations: 128 / 413.4 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.3848, allocations: 172.2 kB / 413.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3852, allocations: 24.42 kB / 413.6 MB, free: 2.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3865, allocations: 1.209 MB / 414.8 MB, free: 1.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.3867, allocations: 0.7079 MB / 415.5 MB, free: 368 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.3868, allocations: 14.16 kB / 415.5 MB, free: 364 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.3869, allocations: 28.08 kB / 415.6 MB, free: 344 kB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.3869, allocations: 0 / 415.6 MB, free: 344 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.4031, allocations: 2.602 MB / 418.2 MB, free: 128 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.4034, allocations: 258.2 kB / 418.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.309, allocations: 0 / 418.4 MB, free: 15.79 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesReducedInitial.pipe 2>&1)