Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.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.TestStaticWallFlueGasesExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticWallFlueGasesExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticWallFlueGasesExchanger",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.8183/0.8183, allocations: 150.9 MB / 166 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 11.98 kB / 204.1 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 31.33 MB / 235.4 MB, free: 5.434 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.542/1.68, allocations: 294.6 MB / 0.5177 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4427/2.122, allocations: 189.9 MB / 0.7031 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/2.123, allocations: 11.94 kB / 0.7031 GB, free: 3.777 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:127:3-128:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004344/2.123, allocations: 79.19 kB / 0.7032 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/2.125, allocations: 0.5422 MB / 0.7037 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02563/2.151, allocations: 9.25 MB / 0.7128 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003106/2.154, allocations: 3.278 MB / 0.716 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/2.155, allocations: 1.129 MB / 0.7171 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/2.157, allocations: 0.8421 MB / 0.7179 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/2.159, allocations: 1.204 MB / 0.7191 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003698/2.159, allocations: 118.9 kB / 0.7192 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03072/2.19, allocations: 20.6 MB / 0.7393 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/2.191, allocations: 0.8177 MB / 0.7401 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/2.192, allocations: 1.03 MB / 0.7411 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02506/2.217, allocations: 12.05 MB / 0.7529 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/2.217, allocations: 1.203 kB / 0.7529 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.834e-06/2.217, allocations: 5.406 kB / 0.7529 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001239/2.217, allocations: 0 / 0.7529 GB, free: 13.66 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: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.01146/2.229, allocations: 3.532 MB / 0.7563 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/2.229, allocations: 10.78 kB / 0.7563 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007095/2.23, allocations: 292.4 kB / 0.7566 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/2.23, allocations: 207.6 kB / 0.7568 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/2.232, allocations: 0.8608 MB / 0.7577 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004911/2.233, allocations: 457.2 kB / 0.7581 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004338/2.233, allocations: 187.4 kB / 0.7583 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005582/2.239, allocations: 3.126 MB / 0.7613 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/2.239, allocations: 19.27 kB / 0.7613 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/2.239, allocations: 84.19 kB / 0.7614 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/2.239, allocations: 51.53 kB / 0.7615 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/2.244, allocations: 3.15 MB / 0.7645 GB, free: 8.797 MB / 0.5919 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.01611/2.26, allocations: 14.84 MB / 0.779 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008048/2.268, allocations: 2.373 MB / 0.7814 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/2.27, allocations: 0.9151 MB / 0.7822 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1606/2.43, allocations: 85.74 MB / 0.866 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.62e-05/2.43, allocations: 47.88 kB / 0.866 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.687e-06/2.431, allocations: 0 / 0.866 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02165/2.452, allocations: 5.973 MB / 0.8719 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/2.452, allocations: 68.72 kB / 0.8719 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/2.454, allocations: 1.397 MB / 0.8733 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/2.455, allocations: 49.7 kB / 0.8733 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/2.455, allocations: 0.7809 MB / 0.8741 GB, free: 448 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/2.456, allocations: 0.5157 MB / 0.8746 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000771/2.457, allocations: 430.9 kB / 0.875 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/2.457, allocations: 309.1 kB / 0.8753 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/2.459, allocations: 0.9214 MB / 0.8762 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/2.461, allocations: 1.631 MB / 0.8778 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/2.466, allocations: 2.702 MB / 0.8804 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/2.466, allocations: 4 kB / 0.8804 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007079/2.473, allocations: 3.386 MB / 0.8837 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/2.473, allocations: 13.56 kB / 0.8838 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/2.473, allocations: 24 kB / 0.8838 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/2.478, allocations: 1.563 MB / 0.8853 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/2.482, allocations: 0.5984 MB / 0.8859 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007964/2.49, allocations: 5.111 MB / 0.8909 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/2.492, allocations: 300.9 kB / 0.8912 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002939/2.492, allocations: 119.9 kB / 0.8913 GB, free: 14.31 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of prepare postOptimizeDAE: time 0.0009979/2.493, allocations: 0.5093 MB / 0.8918 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/2.494, allocations: 166.1 kB / 0.8919 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006239/2.5, allocations: 2.777 MB / 0.8947 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/2.5, allocations: 14.91 kB / 0.8947 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/2.5, allocations: 4 kB / 0.8947 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/2.5, allocations: 7.969 kB / 0.8947 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008287/2.508, allocations: 4.363 MB / 0.8989 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/2.508, allocations: 0 / 0.8989 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/2.511, allocations: 356.7 kB / 0.8993 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004528/2.515, allocations: 1.421 MB / 0.9007 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/2.515, allocations: 39.98 kB / 0.9007 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007769/2.523, allocations: 5.064 MB / 0.9057 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/2.523, allocations: 9.25 kB / 0.9057 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/2.528, allocations: 2.61 MB / 0.9082 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/2.529, allocations: 446.7 kB / 0.9086 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/2.53, allocations: 32 kB / 0.9087 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/2.531, allocations: 83.77 kB / 0.9087 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/2.531, allocations: 113.2 kB / 0.9089 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/2.532, allocations: 51.92 kB / 0.9089 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001364/2.533, allocations: 0.9416 MB / 0.9098 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/2.533, allocations: 0 / 0.9098 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005492/2.538, allocations: 2.022 MB / 0.9118 GB, free: 9.086 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0143/2.553, allocations: 5.487 MB / 0.9172 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006422/2.559, allocations: 2.634 MB / 0.9197 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/2.559, allocations: 0 / 0.9197 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00343/2.563, allocations: 1.329 MB / 0.921 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/2.565, allocations: 342 kB / 0.9214 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/2.599, allocations: 19.96 MB / 0.9409 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/2.601, allocations: 1.372 MB / 0.9422 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001822/2.602, allocations: 0.5356 MB / 0.9427 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/2.603, allocations: 0.5578 MB / 0.9433 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of SimCode: time 7.01e-07/2.603, allocations: 0 / 0.9433 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3011/2.905, allocations: 94.16 MB / 1.035 GB, free: 414.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/2.905, allocations: 310.8 kB / 1.036 GB, free: 413.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.584/8.488, allocations: 0 / 1.036 GB, free: 413.9 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticWallFlueGasesExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticWallFlueGasesExchanger.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)