Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.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.Examples.SimpleExamples.TestFlueGasesVolumes,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes",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.7642/0.7642, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.799e-05, allocations: 7.984 kB / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 31.98 MB / 236.8 MB, free: 5.414 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.Examples.SimpleExamples.TestFlueGasesVolumes): time 1.481/1.625, allocations: 300 MB / 0.5242 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1532/1.778, allocations: 148.9 MB / 0.6697 GB, free: 2.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005879/1.778, allocations: 15.94 kB / 0.6697 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003934/1.779, allocations: 174.5 kB / 0.6699 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009632/1.78, allocations: 0.5192 MB / 0.6704 GB, free: 1.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/1.783, allocations: 1.395 MB / 0.6717 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002159/1.785, allocations: 2.683 MB / 0.6743 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/1.786, allocations: 1.169 MB / 0.6755 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/1.787, allocations: 0.7822 MB / 0.6762 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008699/1.788, allocations: 1.015 MB / 0.6772 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/1.788, allocations: 124 kB / 0.6774 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/1.789, allocations: 0.8381 MB / 0.6782 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/1.789, allocations: 406.3 kB / 0.6786 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/1.79, allocations: 1.031 MB / 0.6796 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/1.792, allocations: 2.818 MB / 0.6823 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.792, allocations: 0 / 0.6823 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/1.792, allocations: 0 / 0.6823 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.466e-05/1.792, allocations: 0 / 0.6823 GB, free: 5.508 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 597 * Number of variables: 597 Notification: Performance of Generate backend data structure: time 0.003434/1.796, allocations: 2.038 MB / 0.6843 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/1.796, allocations: 11.97 kB / 0.6843 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003247/1.796, allocations: 329.4 kB / 0.6846 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/1.796, allocations: 258.1 kB / 0.6849 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/1.797, allocations: 0.8252 MB / 0.6857 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/1.798, allocations: 180.6 kB / 0.6859 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003831/1.798, allocations: 247.9 kB / 0.6861 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/1.802, allocations: 2.657 MB / 0.6887 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/1.802, allocations: 11.88 kB / 0.6887 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/1.802, allocations: 96 kB / 0.6888 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/1.802, allocations: 60 kB / 0.6889 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/1.806, allocations: 2.252 MB / 0.6911 GB, free: 12.21 MB / 0.5762 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.1742/1.98, allocations: 15.39 MB / 0.7061 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/1.983, allocations: 2.032 MB / 0.7081 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/1.984, allocations: 0.5739 MB / 0.7086 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/1.984, allocations: 0.4892 MB / 0.7091 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/1.984, allocations: 48.05 kB / 0.7091 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=117): time 2.936e-06/1.984, allocations: 1.719 kB / 0.7091 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117): time 0.01323/1.997, allocations: 4.58 MB / 0.7136 GB, free: 223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.997, allocations: 196.7 kB / 0.7138 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/1.999, allocations: 1.626 MB / 0.7154 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/1.999, allocations: 42.95 kB / 0.7154 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/2, allocations: 0.8781 MB / 0.7163 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/2, allocations: 417.9 kB / 0.7167 GB, free: 222 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/2, allocations: 166 kB / 0.7169 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.731e-05/2, allocations: 309.9 kB / 0.7171 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009203/2.001, allocations: 486 kB / 0.7176 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/2.002, allocations: 1.143 MB / 0.7187 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/2.004, allocations: 1.739 MB / 0.7204 GB, free: 220 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/2.004, allocations: 6.719 kB / 0.7204 GB, free: 220 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003714/2.008, allocations: 2.26 MB / 0.7226 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/2.008, allocations: 13.94 kB / 0.7227 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/2.008, allocations: 24.91 kB / 0.7227 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003546/2.012, allocations: 0.9353 MB / 0.7236 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/2.012, allocations: 221.4 kB / 0.7238 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005078/2.017, allocations: 10.82 MB / 0.7344 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/2.019, allocations: 330.5 kB / 0.7347 GB, free: 209.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/2.019, allocations: 90.28 kB / 0.7348 GB, free: 209.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 51 (singularPressureLossFlueGases8.C2.b,singularPressureLossFlueGases8.C1.a,staticFan2.C2.b,staticFan2.C1.a,singularPressureLossFlueGases7.C2.b,singularPressureLossFlueGases7.C1.a,singularPressureLossFlueGases6.C2.b,singularPressureLossFlueGases6.C1.a,dynamicExchanger2.Ce3.a,dynamicExchanger2.Ce2.a,dynamicExchanger2.Cs.b,dynamicExchanger2.Ce1.a,Puits_Fumees2.C.a,Source_Fumees2.C.b,singularPressureLossFlueGases5.C2.b,singularPressureLossFlueGases5.C1.a,staticFan1.C2.b,staticFan1.C1.a,singularPressureLossFlueGases4.C2.b,singularPressureLossFlueGases4.C1.a,singularPressureLossFlueGases3.C2.b,singularPressureLossFlueGases3.C1.a,dynamicExchanger1.Ce2.a,dynamicExchanger1.Cs1.b,dynamicExchanger1.Cs2.b,dynamicExchanger1.Ce1.a,Puits_Fumees1.C.a,Source_Fumees1.C.b,singularPressureLossFlueGases2.C2.b,singularPressureLossFlueGases2.C1.a,staticFan.C2.b,staticFan.C1.a,singularPressureLossFlueGases1.C2.b,singularPressureLossFlueGases1.C1.a,singularPressureLossFlueGases.C2.b,singularPressureLossFlueGases.C1.a,dynamicExchanger.Cs3.b,dynamicExchanger.Cs2.b,dynamicExchanger.Cs1.b,dynamicExchanger.Ce.a,Puits_Fumees.C.a,Source_Fumees.C.b,staticFan2.commandeFan.signal,dynamicExchanger2.Ce3.b,dynamicExchanger2.Ce2.b,staticFan1.commandeFan.signal,dynamicExchanger1.Cs2.a,dynamicExchanger1.Ce2.b,staticFan.commandeFan.signal,dynamicExchanger.Cs2.a,dynamicExchanger.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 15 systems {(1,3), (3,9), (1,3), (1,4), (1,3), (1,3), (3,9), (1,3), (1,4), (1,3), (1,3), (3,9), (1,3), (1,4), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007414/2.02, allocations: 399.1 kB / 0.7351 GB, free: 209.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/2.02, allocations: 206.8 kB / 0.7353 GB, free: 209.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/2.025, allocations: 1.991 MB / 0.7373 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/2.025, allocations: 10.34 kB / 0.7373 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/2.025, allocations: 10.11 kB / 0.7373 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/2.025, allocations: 3.094 kB / 0.7373 GB, free: 209.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/2.031, allocations: 3.921 MB / 0.7411 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/2.031, allocations: 4.312 kB / 0.7411 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/2.032, allocations: 171.4 kB / 0.7413 GB, free: 207.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/2.035, allocations: 0.7432 MB / 0.742 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/2.035, allocations: 38.16 kB / 0.7421 GB, free: 207.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/2.039, allocations: 10.77 MB / 0.7526 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.039, allocations: 7.844 kB / 0.7526 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/2.043, allocations: 2.541 MB / 0.7551 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005634/2.043, allocations: 384.6 kB / 0.7554 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/2.043, allocations: 34 kB / 0.7555 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000922/2.044, allocations: 82.92 kB / 0.7556 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/2.044, allocations: 93.23 kB / 0.7556 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/2.045, allocations: 40.8 kB / 0.7557 GB, free: 196.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001262/2.046, allocations: 1.072 MB / 0.7567 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/2.046, allocations: 0 / 0.7567 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001403/2.047, allocations: 0.5039 MB / 0.7572 GB, free: 196.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (dynamicExchanger2.h,dynamicExchanger1.h,dynamicExchanger.h) * 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 (57): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 12 systems {(1,3), (3,9), (1,3), (1,3), (1,3), (3,9), (1,3), (1,3), (1,3), (3,9), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004661/2.052, allocations: 3.29 MB / 0.7604 GB, free: 194 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003428/2.055, allocations: 1.573 MB / 0.762 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.055, allocations: 0 / 0.762 GB, free: 192.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/2.057, allocations: 0.839 MB / 0.7628 GB, free: 191.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/2.06, allocations: 301.6 kB / 0.7631 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02284/2.083, allocations: 19.59 MB / 0.7822 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/2.083, allocations: 1.293 MB / 0.7835 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006319/2.084, allocations: 209.6 kB / 0.7837 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/2.085, allocations: 0.6945 MB / 0.7843 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/2.085, allocations: 0 / 0.7843 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05296/2.138, allocations: 41.67 MB / 0.825 GB, free: 128 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/2.138, allocations: 239.2 kB / 0.8253 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/5.042, allocations: 7.438 kB / 0.8253 GB, free: 127.7 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestFlueGasesVolumes.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFlueGasesVolumes.pipe 2>&1)