Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.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.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial",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.001197/0.001198, allocations: 91.53 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.001445/0.001446, 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.644/1.644, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002985/0.002985, allocations: 0.5469 MB / 291.6 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 8 kB / 352.8 MB, free: 2.711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 50.58 MB / 403.4 MB, free: 96 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial): time 0.219/0.3291, allocations: 233.5 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001331/0.3293, allocations: 22.69 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.3293, allocations: 0.5 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.015e-05/0.3293, allocations: 0 / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.73e-05/0.3293, allocations: 7.781 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.3295, allocations: 7.812 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.3295, allocations: 14.3 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.3296, allocations: 3.328 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.3296, allocations: 10.95 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.3297, allocations: 14.33 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3297, allocations: 1.531 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.3297, allocations: 1.312 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.3297, allocations: 5.375 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.3298, allocations: 29.23 kB / 403.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.131e-05/0.3298, allocations: 10.47 kB / 403.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3298, allocations: 0.5156 kB / 403.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3298, allocations: 0.6875 kB / 403.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.3298, allocations: 4 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.0002489/0.3301, allocations: 331.2 kB / 404 MB, free: 9.453 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3301, allocations: 10.38 kB / 404 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.3302, allocations: 31.12 kB / 404.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.969e-05/0.3302, allocations: 10.69 kB / 404.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.613e-05/0.3303, allocations: 168 kB / 404.3 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.3303, allocations: 4.531 kB / 404.3 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3303, allocations: 2.906 kB / 404.3 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.3304, allocations: 48.7 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3304, allocations: 1.703 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3304, allocations: 0 / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3304, allocations: 4.859 kB / 404.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.3305, allocations: 14.89 kB / 404.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.3307, allocations: 251 kB / 404.6 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.3308, allocations: 46.77 kB / 404.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.3309, allocations: 26.16 kB / 404.6 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3309, allocations: 1.562 kB / 404.6 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.3309, allocations: 31.98 kB / 404.7 MB, free: 8.824 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3309, allocations: 0 / 404.7 MB, free: 8.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006168/0.3315, allocations: 0.5042 MB / 405.2 MB, free: 8.371 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3316, allocations: 53.61 kB / 405.2 MB, free: 8.309 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.969e-05/0.3316, allocations: 98.47 kB / 405.3 MB, free: 8.211 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3316, allocations: 29.67 kB / 405.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.3317, allocations: 81.73 kB / 405.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3317, allocations: 30.41 kB / 405.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.3317, allocations: 7.125 kB / 405.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.3318, allocations: 315.1 kB / 405.8 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.3318, allocations: 17.61 kB / 405.8 MB, free: 7.758 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.3319, allocations: 30.8 kB / 405.8 MB, free: 7.742 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.3321, allocations: 199.8 kB / 406 MB, free: 7.555 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3321, allocations: 3.953 kB / 406 MB, free: 7.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.3323, allocations: 97.61 kB / 406.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3323, allocations: 6.469 kB / 406.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.3323, allocations: 0 / 406.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.166e-05/0.3324, allocations: 22.73 kB / 406.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.3325, allocations: 13.88 kB / 406.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000724/0.3332, allocations: 1.287 MB / 407.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.3332, allocations: 1.859 kB / 407.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3333, allocations: 6.484 kB / 407.5 MB, free: 6.219 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 sytem: 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.3334, allocations: 116.6 kB / 407.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3334, allocations: 10.38 kB / 407.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.3334, allocations: 11.31 kB / 407.6 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3334, allocations: 5.344 kB / 407.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3335, allocations: 3.75 kB / 407.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3335, allocations: 4.656 kB / 407.6 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.3338, allocations: 362.5 kB / 408 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3339, allocations: 0.6875 kB / 408 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.3339, allocations: 12.31 kB / 408 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.017e-05/0.334, allocations: 22.8 kB / 408 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.334, allocations: 6.547 kB / 408 MB, free: 5.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006766/0.3347, allocations: 1.286 MB / 409.3 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3347, allocations: 2.078 kB / 409.3 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3349, allocations: 229.4 kB / 409.5 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.335, allocations: 80.48 kB / 409.6 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.335, allocations: 5.094 kB / 409.6 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.3351, allocations: 6.156 kB / 409.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3351, allocations: 9.875 kB / 409.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3351, allocations: 3.531 kB / 409.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.767e-05/0.3352, allocations: 79.91 kB / 409.7 MB, free: 4.121 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3352, allocations: 3.938 kB / 409.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3354, allocations: 12.47 kB / 409.7 MB, free: 4.117 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004219/0.3359, allocations: 0.7546 MB / 410.5 MB, free: 3.418 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.3362, allocations: 165.5 kB / 410.6 MB, free: 3.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3362, allocations: 4.062 kB / 410.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3364, allocations: 139.6 kB / 410.8 MB, free: 3.191 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3366, allocations: 6.531 kB / 410.8 MB, free: 3.191 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.3373, allocations: 0.4955 MB / 411.3 MB, free: 2.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3374, allocations: 0.6851 MB / 412 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.3375, allocations: 3.469 kB / 412 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.3375, allocations: 13.7 kB / 412 MB, free: 2.09 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3375, allocations: 4 kB / 412 MB, free: 2.086 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.3495, allocations: 1.523 MB / 413.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.3496, allocations: 272.7 kB / 413.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.183, allocations: 0 / 413.8 MB, free: 1.586 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Mechanical_TwoMassesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsFullInitial.pipe 2>&1)