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-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.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.0009871/0.0009921, allocations: 91.61 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.001119/0.001119, 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.47/1.47, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002338/0.002338, allocations: 0.5508 MB / 291.6 MB, free: 1.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 12 kB / 352.8 MB, free: 2.727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 50.57 MB / 403.3 MB, free: 116 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Mechanical.TwoMassesEquationsReducedSteadyState): time 0.2361/0.3579, allocations: 236.7 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001723/0.3581, allocations: 23.78 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.3581, allocations: 0 / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.3582, allocations: 0 / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.3582, allocations: 3.625 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.3583, allocations: 7.109 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.417e-05/0.3584, allocations: 16.2 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.3585, allocations: 6.094 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.3585, allocations: 5.859 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.3586, allocations: 14.83 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3586, allocations: 0.5938 kB / 403.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.3586, allocations: 1.625 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.3587, allocations: 5.938 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.3587, allocations: 34.3 kB / 403.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.743e-05/0.3587, allocations: 10.61 kB / 403.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3588, allocations: 0 / 403.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3588, allocations: 1.062 kB / 403.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.3588, allocations: 0 / 403.7 MB, free: 9.797 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.0003291/0.3591, allocations: 334 kB / 404 MB, free: 9.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3592, allocations: 8.906 kB / 404 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.3592, allocations: 32.03 kB / 404.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.3592, allocations: 6.109 kB / 404.1 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3593, allocations: 162.9 kB / 404.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3594, allocations: 7.859 kB / 404.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.3594, allocations: 3.188 kB / 404.2 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.3595, allocations: 48.73 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3595, allocations: 0 / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3596, allocations: 1.406 kB / 404.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3596, allocations: 7.953 kB / 404.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.625e-05/0.3596, allocations: 19.09 kB / 404.3 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.36, allocations: 291.1 kB / 404.6 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.3601, allocations: 44.77 kB / 404.6 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.3602, allocations: 13.58 kB / 404.7 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.3602, allocations: 0.6562 kB / 404.7 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3602, allocations: 40.2 kB / 404.7 MB, free: 8.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3602, allocations: 0 / 404.7 MB, free: 8.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003892/0.3606, allocations: 161.1 kB / 404.9 MB, free: 8.641 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.3607, allocations: 53.12 kB / 404.9 MB, free: 8.578 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.3607, allocations: 100.5 kB / 405 MB, free: 8.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3607, allocations: 25.7 kB / 405 MB, free: 8.449 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.3608, allocations: 86.5 kB / 405.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.3608, allocations: 14.78 kB / 405.1 MB, free: 8.355 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3608, allocations: 0.5312 kB / 405.1 MB, free: 8.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.3609, allocations: 316.2 kB / 405.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.3609, allocations: 9.375 kB / 405.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.3609, allocations: 21.28 kB / 405.5 MB, free: 8.027 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.361, allocations: 10.45 kB / 405.5 MB, free: 8.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.361, allocations: 0 / 405.5 MB, free: 8.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.579e-05/0.3611, allocations: 73.19 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3611, allocations: 4.812 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3611, allocations: 1.094 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3611, allocations: 1.906 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.3612, allocations: 12.22 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3612, allocations: 1.922 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.3613, allocations: 5.219 kB / 405.6 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3613, allocations: 1.875 kB / 405.6 MB, free: 7.98 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.3613, allocations: 112.8 kB / 405.7 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3614, allocations: 5.359 kB / 405.7 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.3614, allocations: 12.62 kB / 405.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3614, allocations: 4.141 kB / 405.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3614, allocations: 0.6562 kB / 405.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3614, allocations: 1.609 kB / 405.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3616, allocations: 165.8 kB / 405.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3616, allocations: 1.25 kB / 405.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.3616, allocations: 2.75 kB / 405.9 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.3618, allocations: 23.05 kB / 405.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.3618, allocations: 6.766 kB / 405.9 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000675/0.3625, allocations: 1.249 MB / 407.2 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3625, allocations: 0 / 407.2 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3627, allocations: 172.3 kB / 407.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.3627, allocations: 82.83 kB / 407.4 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.3627, allocations: 5.281 kB / 407.4 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.3628, allocations: 0.5625 kB / 407.4 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.3628, allocations: 11.75 kB / 407.4 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.3628, allocations: 5.203 kB / 407.4 MB, free: 6.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.3628, allocations: 83.27 kB / 407.5 MB, free: 6.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3628, allocations: 0 / 407.5 MB, free: 6.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.3631, allocations: 8.188 kB / 407.5 MB, free: 6.043 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.0003441/0.3634, allocations: 0.6978 MB / 408.2 MB, free: 5.371 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.3635, allocations: 25.64 kB / 408.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3635, allocations: 0 / 408.2 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3637, allocations: 131.5 kB / 408.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.3639, allocations: 4.484 kB / 408.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.3644, allocations: 425.5 kB / 408.8 MB, free: 4.898 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.3646, allocations: 0.6814 MB / 409.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.118e-05/0.3646, allocations: 3.203 kB / 409.5 MB, free: 4.203 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3647, allocations: 9.5 kB / 409.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3647, allocations: 0 / 409.5 MB, free: 4.195 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.3778, allocations: 1.27 MB / 410.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/0.3782, allocations: 273.8 kB / 411 MB, free: 3.691 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.215, allocations: 0 / 411 MB, free: 3.691 MB / 286.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/linux/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)