Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",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.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.002669/0.002669, allocations: 0.5699 MB / 291 MB, free: 1.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 63.89 kB / 351.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08453, allocations: 49.59 MB / 401.2 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature): time 0.001743/0.08631, allocations: 0.5778 MB / 401.8 MB, free: 24 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1436/0.2299, allocations: 43.61 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.23, allocations: 0 / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.2301, allocations: 5.844 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.203e-05/0.2302, allocations: 5.203 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.2303, allocations: 15.75 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.726e-05/0.2304, allocations: 48.94 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.2304, allocations: 5.25 kB / 401.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.2305, allocations: 24.16 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.2306, allocations: 34.7 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.2306, allocations: 4.062 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.2306, allocations: 3 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.2306, allocations: 9.484 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.2307, allocations: 26.56 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.2308, allocations: 29.78 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2308, allocations: 0.6562 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2308, allocations: 4.562 kB / 402.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2308, allocations: 0 / 402.1 MB, free: 10.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004747/0.2313, allocations: 375.8 kB / 402.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2313, allocations: 12.67 kB / 402.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.2314, allocations: 38.8 kB / 402.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.2314, allocations: 8.344 kB / 402.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2315, allocations: 181.8 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2316, allocations: 3.75 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.2316, allocations: 8.875 kB / 402.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.2317, allocations: 76.33 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2318, allocations: 3.938 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2318, allocations: 1.188 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.2318, allocations: 5.797 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.2319, allocations: 37.25 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.2323, allocations: 307.9 kB / 403.1 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.2326, allocations: 108 kB / 403.2 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.2327, allocations: 32.47 kB / 403.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2327, allocations: 1.656 kB / 403.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.2327, allocations: 36.66 kB / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.2327, allocations: 0 / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002684/0.2354, allocations: 0.7551 MB / 404 MB, free: 9.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.2355, allocations: 57.33 kB / 404.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.2355, allocations: 107.2 kB / 404.2 MB, free: 8.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.2356, allocations: 30.55 kB / 404.2 MB, free: 8.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.2356, allocations: 93.25 kB / 404.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.2356, allocations: 57.8 kB / 404.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.2357, allocations: 32.97 kB / 404.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.958e-05/0.2357, allocations: 323.1 kB / 404.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.2358, allocations: 39.84 kB / 404.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.2359, allocations: 64.2 kB / 404.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.236, allocations: 107.9 kB / 404.9 MB, free: 8.336 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2361, allocations: 1.406 kB / 404.9 MB, free: 8.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001513/0.2376, allocations: 353 kB / 405.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2376, allocations: 6.688 kB / 405.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2376, allocations: 4.688 kB / 405.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.2393, allocations: 271.8 kB / 405.6 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.2394, allocations: 15.62 kB / 405.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.2427, allocations: 2.329 MB / 407.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.2428, allocations: 2.375 kB / 407.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.2428, allocations: 8.375 kB / 407.9 MB, free: 6.398 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 (7): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.2429, allocations: 113.1 kB / 408 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.2429, allocations: 10.09 kB / 408 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.2429, allocations: 22.14 kB / 408.1 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.243, allocations: 7.828 kB / 408.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.243, allocations: 1.375 kB / 408.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.243, allocations: 1.453 kB / 408.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.2431, allocations: 195.4 kB / 408.3 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2432, allocations: 3.938 kB / 408.3 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.2432, allocations: 14.95 kB / 408.3 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.245, allocations: 280.8 kB / 408.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2451, allocations: 2.625 kB / 408.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.2469, allocations: 1.935 MB / 410.5 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2469, allocations: 4.859 kB / 410.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009597/0.2478, allocations: 412.6 kB / 410.9 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.2479, allocations: 84.61 kB / 411 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2479, allocations: 10.14 kB / 411 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.248, allocations: 5.031 kB / 411 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.248, allocations: 16.64 kB / 411 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.2481, allocations: 3.25 kB / 411 MB, free: 3.965 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.2481, allocations: 87.59 kB / 411.1 MB, free: 3.887 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2481, allocations: 0 / 411.1 MB, free: 3.887 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.2485, allocations: 34.22 kB / 411.1 MB, free: 3.883 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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 (8): * Single equations (assignments): 7 * 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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.2496, allocations: 0.9314 MB / 412.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006373/0.2502, allocations: 310.1 kB / 412.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2503, allocations: 0 / 412.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.2506, allocations: 230.2 kB / 412.6 MB, free: 2.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.2508, allocations: 9.688 kB / 412.6 MB, free: 2.777 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.2547, allocations: 2.065 MB / 414.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2548, allocations: 0.7043 MB / 415.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.463e-05/0.2548, allocations: 4.531 kB / 415.4 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.2549, allocations: 29.75 kB / 415.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2549, allocations: 3.938 kB / 415.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.2798, allocations: 3.876 MB / 419.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.14, allocations: 12.25 kB / 419.3 MB, free: 15.97 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)