Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8342/0.8342, allocations: 150.8 MB / 166.1 MB, free: 15.19 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.025e-05, allocations: 4 kB / 204.9 MB, free: 9.582 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1696, allocations: 31.98 MB / 236.9 MB, free: 5.312 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1): time 1.632/1.802, allocations: 298.8 MB / 0.5231 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5556/2.358, allocations: 207.4 MB / 0.7257 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/2.359, allocations: 21.22 kB / 0.7257 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009155/2.36, allocations: 258.2 kB / 0.7259 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/2.362, allocations: 465.9 kB / 0.7264 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04514/2.407, allocations: 13.66 MB / 0.7397 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002756/2.41, allocations: 1.973 MB / 0.7417 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008857/2.411, allocations: 0.7244 MB / 0.7424 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009947/2.412, allocations: 0.6712 MB / 0.743 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/2.412, allocations: 0.6778 MB / 0.7437 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/2.413, allocations: 69.41 kB / 0.7437 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05798/2.471, allocations: 29.38 MB / 0.7724 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007217/2.471, allocations: 260.6 kB / 0.7727 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/2.473, allocations: 0.7558 MB / 0.7734 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04396/2.517, allocations: 15.31 MB / 0.7884 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/2.517, allocations: 6.625 kB / 0.7884 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.106e-06/2.517, allocations: 0 / 0.7884 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.454e-05/2.517, allocations: 0 / 0.7884 GB, free: 3.867 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.0108/2.528, allocations: 3.336 MB / 0.7916 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/2.528, allocations: 8.031 kB / 0.7916 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003245/2.528, allocations: 231.2 kB / 0.7919 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/2.528, allocations: 177.8 kB / 0.792 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/2.529, allocations: 0.6682 MB / 0.7927 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/2.53, allocations: 170.1 kB / 0.7929 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/2.53, allocations: 131.9 kB / 0.793 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/2.532, allocations: 1.743 MB / 0.7947 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/2.532, allocations: 6.531 kB / 0.7947 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/2.532, allocations: 60 kB / 0.7947 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/2.533, allocations: 47.98 kB / 0.7948 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/2.535, allocations: 1.365 MB / 0.7961 GB, free: 11.81 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/2.55, allocations: 13.29 MB / 0.8091 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/2.552, allocations: 0.8313 MB / 0.8099 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008882/2.553, allocations: 0.5546 MB / 0.8105 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055/3.608, allocations: 379 MB / 1.181 GB, free: 27.38 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/3.608, allocations: 38.81 kB / 1.181 GB, free: 27.34 MB / 0.795 GB Notification: Performance of pre-optimization done (n=146): time 3.327e-06/3.608, allocations: 0 / 1.181 GB, free: 27.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=147): time 0.01312/3.621, allocations: 5.297 MB / 1.186 GB, free: 23.06 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/3.621, allocations: 59.97 kB / 1.186 GB, free: 22.99 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/3.622, allocations: 0.824 MB / 1.187 GB, free: 22.33 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/3.622, allocations: 37.52 kB / 1.187 GB, free: 22.3 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Thermal/BoundaryConditions/HeatSource.mo:5:3-6:72:writable] Warning: The parameter heatSource.W0[1] has fixed = false and a binding equation heatSource.W0[1] = 2000000.0, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/StaticCentrifugalPump.mo:24:3-25:69:writable] Warning: The parameter staticCentrifugalPump.a1 has fixed = false and a binding equation staticCentrifugalPump.a1 = -88.67, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0003144/3.622, allocations: 0.6524 MB / 1.187 GB, free: 21.79 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/3.623, allocations: 0.4926 MB / 1.188 GB, free: 21.36 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/3.623, allocations: 157 kB / 1.188 GB, free: 21.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/3.623, allocations: 355 kB / 1.188 GB, free: 20.92 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/3.624, allocations: 494.9 kB / 1.189 GB, free: 20.62 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009399/3.625, allocations: 1.05 MB / 1.19 GB, free: 19.55 MB / 0.795 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/3.635, allocations: 4.811 MB / 1.194 GB, free: 15.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/3.635, allocations: 11.75 kB / 1.194 GB, free: 15.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.00384/3.639, allocations: 2.181 MB / 1.197 GB, free: 14.17 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/3.639, allocations: 19.31 kB / 1.197 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/3.639, allocations: 20.91 kB / 1.197 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002976/3.642, allocations: 1.074 MB / 1.198 GB, free: 13.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/3.643, allocations: 215.1 kB / 1.198 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/3.647, allocations: 4.733 MB / 1.203 GB, free: 8.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/3.647, allocations: 78.06 kB / 1.203 GB, free: 8.531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/3.648, allocations: 70.55 kB / 1.203 GB, free: 8.473 MB / 0.795 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volumeA.P = $START.volumeA.P stodolaTurbine.proe.x = $START.stodolaTurbine.proe.x. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 24 (volumeA.fluid1,sourcePCaloporteur.fluid1,volumeA.Cs2.ftype,volumeA.Cs1.ftype,volumeA.Ce1.ftype,Condenseur.Cl.ftype,volumeA.fluids[1],sourcePCaloporteur.C.ftype,staticCentrifugalPump.fluid,stodolaTurbine.fluid,Condenseur.fluid_p,puitsPCaloporteur.fluid,volumeA.Cs2.diff_on_1,Condenseur.Cv.diff_on_1,volumeA.Cs1.diff_on_1,volumeA.Ce2.diff_on_2,Condenseur.Cl.diff_on_2,volumeA.Ce1.diff_on_2,volumeA.Cs1.diff_on_2,volumeA.Ce1.diff_on_1,Condenseur.Cl.diff_on_1,staticCentrifugalPump.C2.diff_on_1,Condenseur.Cv.diff_on_2,volumeA.Cs2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,1,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,2), (1,2), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004645/3.648, allocations: 323.7 kB / 1.203 GB, free: 8.258 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/3.648, allocations: 114.5 kB / 1.203 GB, free: 8.145 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/3.651, allocations: 2.288 MB / 1.205 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003474/3.655, allocations: 1.976 MB / 1.207 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/3.655, allocations: 0 / 1.207 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/3.655, allocations: 11.97 kB / 1.207 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006609/3.661, allocations: 4.173 MB / 1.211 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/3.661, allocations: 0 / 1.211 GB, free: 2.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/3.662, allocations: 147.2 kB / 1.211 GB, free: 2.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003208/3.665, allocations: 1.154 MB / 1.213 GB, free: 1.008 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/3.665, allocations: 29.05 kB / 1.213 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/3.67, allocations: 4.71 MB / 1.217 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.67, allocations: 3.562 kB / 1.217 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00639/3.676, allocations: 3.095 MB / 1.22 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/3.677, allocations: 292.1 kB / 1.221 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/3.677, allocations: 24.88 kB / 1.221 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/3.678, allocations: 62.06 kB / 1.221 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/3.678, allocations: 72.2 kB / 1.221 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/3.678, allocations: 34.92 kB / 1.221 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006103/3.678, allocations: 0.5098 MB / 1.221 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/3.678, allocations: 0 / 1.221 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006765/3.685, allocations: 2.592 MB / 1.224 GB, free: 7.418 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Condenseur.P,Condenseur.hl,Condenseur.hv,Condenseur.Vv) * 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 (93): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,1,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,2), (1,2), (5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01741/3.703, allocations: 7.077 MB / 1.231 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004071/3.707, allocations: 2.103 MB / 1.233 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/3.707, allocations: 0 / 1.233 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/3.709, allocations: 1.124 MB / 1.234 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/3.712, allocations: 490.8 kB / 1.234 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/3.738, allocations: 13.99 MB / 1.248 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/3.738, allocations: 1.268 MB / 1.249 GB, free: 440 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007904/3.739, allocations: 173.1 kB / 1.249 GB, free: 268 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1739/3.913, allocations: 0.622 MB / 1.25 GB, free: 462.2 MB / 0.8262 GB Notification: Performance of SimCode: time 1.062e-06/3.913, allocations: 0 / 1.25 GB, free: 462.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1257/4.039, allocations: 107.1 MB / 1.355 GB, free: 389.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/4.039, allocations: 305 kB / 1.355 GB, free: 389.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/11.59, allocations: 5.562 kB / 1.355 GB, free: 389.2 MB / 0.8262 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSimpleDynamicCondenser1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleDynamicCondenser1.pipe 2>&1)