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.7824/0.7824, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.559e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 31.98 MB / 236.8 MB, free: 5.398 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.TestStaticWallFlueGasesExchanger): time 1.481/1.613, allocations: 295.6 MB / 0.5199 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4317/2.045, allocations: 187.7 MB / 0.7032 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/2.046, allocations: 11.66 kB / 0.7032 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002696/2.046, allocations: 77.06 kB / 0.7033 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/2.047, allocations: 0.5433 MB / 0.7038 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02162/2.069, allocations: 9.426 MB / 0.713 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002535/2.072, allocations: 3.26 MB / 0.7162 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009196/2.072, allocations: 1.102 MB / 0.7173 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006464/2.073, allocations: 0.8058 MB / 0.7181 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/2.074, allocations: 1.155 MB / 0.7192 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/2.074, allocations: 102.7 kB / 0.7193 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02865/2.103, allocations: 20.68 MB / 0.7395 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008128/2.104, allocations: 0.7894 MB / 0.7403 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/2.105, allocations: 1.017 MB / 0.7413 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02059/2.126, allocations: 11.9 MB / 0.7529 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/2.126, allocations: 0 / 0.7529 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.365e-06/2.126, allocations: 0 / 0.7529 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001152/2.126, allocations: 4 kB / 0.7529 GB, free: 12.84 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.008814/2.135, allocations: 3.223 MB / 0.756 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/2.135, allocations: 8.594 kB / 0.756 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004621/2.135, allocations: 293.4 kB / 0.7563 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/2.135, allocations: 209.3 kB / 0.7565 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/2.137, allocations: 0.86 MB / 0.7574 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/2.137, allocations: 466.7 kB / 0.7578 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/2.137, allocations: 187.7 kB / 0.758 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004245/2.141, allocations: 3.148 MB / 0.7611 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/2.142, allocations: 15.22 kB / 0.7611 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/2.142, allocations: 91 kB / 0.7612 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/2.142, allocations: 49.69 kB / 0.7612 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004678/2.146, allocations: 3.187 MB / 0.7643 GB, free: 8.219 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.01429/2.161, allocations: 14.88 MB / 0.7789 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006994/2.168, allocations: 2.406 MB / 0.7812 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/2.169, allocations: 0.933 MB / 0.7821 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1545/2.324, allocations: 86.38 MB / 0.8665 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/2.324, allocations: 46.94 kB / 0.8665 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.406e-06/2.324, allocations: 0 / 0.8665 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02038/2.344, allocations: 6.526 MB / 0.8729 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/2.344, allocations: 68.72 kB / 0.873 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/2.346, allocations: 1.393 MB / 0.8743 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/2.346, allocations: 53.7 kB / 0.8744 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/2.347, allocations: 0.7706 MB / 0.8751 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/2.347, allocations: 0.5212 MB / 0.8756 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/2.347, allocations: 169.8 kB / 0.8758 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/2.347, allocations: 305.1 kB / 0.8761 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/2.349, allocations: 0.9487 MB / 0.877 GB, free: 356 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/2.351, allocations: 1.652 MB / 0.8786 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/2.355, allocations: 2.75 MB / 0.8813 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/2.355, allocations: 8 kB / 0.8813 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006223/2.362, allocations: 3.448 MB / 0.8847 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/2.362, allocations: 16 kB / 0.8847 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/2.362, allocations: 24 kB / 0.8847 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004341/2.366, allocations: 1.61 MB / 0.8863 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/2.37, allocations: 0.5904 MB / 0.8869 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00718/2.377, allocations: 5.177 MB / 0.8919 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/2.379, allocations: 320.9 kB / 0.8922 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/2.379, allocations: 119.9 kB / 0.8923 GB, free: 120 kB / 0.7169 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.0007634/2.38, allocations: 0.5083 MB / 0.8928 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/2.38, allocations: 166.1 kB / 0.893 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005705/2.385, allocations: 2.839 MB / 0.8958 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/2.386, allocations: 16 kB / 0.8958 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/2.386, allocations: 7.938 kB / 0.8958 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/2.386, allocations: 7.969 kB / 0.8958 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007268/2.393, allocations: 4.425 MB / 0.9001 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/2.393, allocations: 4 kB / 0.9001 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/2.395, allocations: 352.4 kB / 0.9005 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004125/2.399, allocations: 1.474 MB / 0.9019 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/2.399, allocations: 39.98 kB / 0.9019 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007131/2.406, allocations: 5.143 MB / 0.907 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/2.406, allocations: 0 / 0.907 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/2.411, allocations: 2.678 MB / 0.9096 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007306/2.412, allocations: 446.7 kB / 0.91 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/2.412, allocations: 28 kB / 0.91 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/2.413, allocations: 95.7 kB / 0.9101 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/2.414, allocations: 120.1 kB / 0.9102 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/2.414, allocations: 51.98 kB / 0.9103 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001142/2.415, allocations: 0.9395 MB / 0.9112 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/2.415, allocations: 0 / 0.9112 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004752/2.42, allocations: 2.026 MB / 0.9132 GB, free: 10.58 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.01176/2.432, allocations: 5.524 MB / 0.9186 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005215/2.437, allocations: 2.672 MB / 0.9212 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.437, allocations: 1.812 kB / 0.9212 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/2.439, allocations: 1.359 MB / 0.9225 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/2.441, allocations: 343.4 kB / 0.9228 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/2.47, allocations: 20.15 MB / 0.9425 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/2.471, allocations: 1.372 MB / 0.9439 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001636/2.473, allocations: 0.5356 MB / 0.9444 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008021/2.474, allocations: 0.5617 MB / 0.9449 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/2.474, allocations: 0 / 0.9449 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.749/6.223, allocations: 92.45 MB / 1.035 GB, free: 394.2 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/6.223, allocations: 317.1 kB / 1.036 GB, free: 393.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.133/11.36, allocations: 0 / 1.036 GB, free: 393.8 MB / 0.795 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)