Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.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.TestDynamicMultiFluidHeatExchangerShell,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicMultiFluidHeatExchangerShell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicMultiFluidHeatExchangerShell",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.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.721e-05, allocations: 4 kB / 204.9 MB, free: 9.953 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1659, allocations: 31.98 MB / 236.8 MB, free: 5.426 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.TestDynamicMultiFluidHeatExchangerShell): time 1.607/1.773, allocations: 298.1 MB / 0.5224 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5567/2.33, allocations: 195.4 MB / 0.7132 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006207/2.331, allocations: 25.12 kB / 0.7133 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004126/2.331, allocations: 195.3 kB / 0.7134 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/2.332, allocations: 0.8099 MB / 0.7142 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03027/2.363, allocations: 11.31 MB / 0.7253 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005008/2.368, allocations: 6.255 MB / 0.7314 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/2.369, allocations: 1.622 MB / 0.733 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/2.371, allocations: 1.368 MB / 0.7343 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/2.373, allocations: 2.042 MB / 0.7363 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002958/2.373, allocations: 171.3 kB / 0.7365 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03881/2.412, allocations: 23.2 MB / 0.7591 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/2.413, allocations: 1.107 MB / 0.7602 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/2.416, allocations: 1.474 MB / 0.7616 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03448/2.45, allocations: 15.73 MB / 0.777 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/2.45, allocations: 0 / 0.777 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.376e-06/2.45, allocations: 0 / 0.777 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000103/2.45, allocations: 1.859 kB / 0.777 GB, free: 7.195 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.01519/2.465, allocations: 4.185 MB / 0.7811 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/2.466, allocations: 12.03 kB / 0.7811 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008946/2.466, allocations: 368.4 kB / 0.7814 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005636/2.467, allocations: 288.8 kB / 0.7817 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/2.469, allocations: 1.547 MB / 0.7832 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/2.47, allocations: 321.7 kB / 0.7835 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004299/2.47, allocations: 247.2 kB / 0.7838 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007149/2.477, allocations: 4.424 MB / 0.7881 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/2.477, allocations: 2.906 kB / 0.7881 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/2.478, allocations: 108.9 kB / 0.7882 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/2.478, allocations: 60 kB / 0.7883 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/2.489, allocations: 7.905 MB / 0.796 GB, free: 5.801 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.1995/2.688, allocations: 112.5 MB / 0.9058 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009904/2.698, allocations: 5.054 MB / 0.9107 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00484/2.703, allocations: 2.366 MB / 0.9131 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362/4.065, allocations: 364.2 MB / 1.269 GB, free: 254 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/4.065, allocations: 64.98 kB / 1.269 GB, free: 253.9 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=319): time 6.402e-06/4.065, allocations: 0 / 1.269 GB, free: 253.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=319): time 0.01519/4.08, allocations: 8.211 MB / 1.277 GB, free: 253.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/4.08, allocations: 118.1 kB / 1.277 GB, free: 253.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/4.081, allocations: 1.004 MB / 1.278 GB, free: 253.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/4.082, allocations: 80.62 kB / 1.278 GB, free: 253.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/4.082, allocations: 0.731 MB / 1.279 GB, free: 253.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007639/4.083, allocations: 1.082 MB / 1.28 GB, free: 252.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/4.083, allocations: 248.7 kB / 1.28 GB, free: 252.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.115e-05/4.083, allocations: 303.4 kB / 1.28 GB, free: 252.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/4.087, allocations: 1.934 MB / 1.282 GB, free: 252.1 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003571/4.09, allocations: 2.406 MB / 1.285 GB, free: 251.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007098/4.097, allocations: 4.667 MB / 1.289 GB, free: 251.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/4.098, allocations: 7.188 kB / 1.289 GB, free: 251.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01464/4.112, allocations: 7.17 MB / 1.296 GB, free: 250.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/4.112, allocations: 8.75 kB / 1.296 GB, free: 250.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/4.112, allocations: 15.28 kB / 1.296 GB, free: 250.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05099/4.163, allocations: 10.08 MB / 1.306 GB, free: 248.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/4.164, allocations: 202.9 kB / 1.306 GB, free: 248.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/4.176, allocations: 7.954 MB / 1.314 GB, free: 244.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/4.179, allocations: 316.8 kB / 1.314 GB, free: 244.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/4.179, allocations: 148.9 kB / 1.314 GB, free: 244 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.fluid,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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 {(22,246)} Notification: Performance of prepare postOptimizeDAE: time 0.001153/4.18, allocations: 0.6701 MB / 1.315 GB, free: 243.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/4.181, allocations: 201.8 kB / 1.315 GB, free: 243.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/4.197, allocations: 8.229 MB / 1.323 GB, free: 236.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/4.197, allocations: 32 kB / 1.323 GB, free: 236.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/4.197, allocations: 0 / 1.323 GB, free: 236.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/4.197, allocations: 15.94 kB / 1.323 GB, free: 236.8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/4.216, allocations: 12.39 MB / 1.335 GB, free: 224.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/4.217, allocations: 0 / 1.335 GB, free: 224.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/4.217, allocations: 103.3 kB / 1.336 GB, free: 224.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04771/4.265, allocations: 8.881 MB / 1.344 GB, free: 215.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/4.266, allocations: 95.94 kB / 1.344 GB, free: 215.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/4.277, allocations: 7.875 MB / 1.352 GB, free: 207.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/4.277, allocations: 0 / 1.352 GB, free: 207.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/4.289, allocations: 6.745 MB / 1.359 GB, free: 200.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/4.291, allocations: 0.8101 MB / 1.359 GB, free: 199.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/4.291, allocations: 55.98 kB / 1.359 GB, free: 199.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/4.293, allocations: 130.2 kB / 1.36 GB, free: 199.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004168/4.293, allocations: 198.2 kB / 1.36 GB, free: 199.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/4.293, allocations: 115.9 kB / 1.36 GB, free: 199.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008014/4.294, allocations: 0.6793 MB / 1.36 GB, free: 198.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.1e-07/4.294, allocations: 4 kB / 1.36 GB, free: 198.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006814/4.301, allocations: 2.638 MB / 1.363 GB, free: 196.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 55 * 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 {(22,245)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0213/4.322, allocations: 10.03 MB / 1.373 GB, free: 186.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01103/4.333, allocations: 4.944 MB / 1.378 GB, free: 181.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/4.333, allocations: 0.8125 kB / 1.378 GB, free: 181.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006078/4.339, allocations: 2.724 MB / 1.38 GB, free: 179 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/4.342, allocations: 445.6 kB / 1.381 GB, free: 178.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05533/4.397, allocations: 30.18 MB / 1.41 GB, free: 147.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/4.399, allocations: 1.702 MB / 1.412 GB, free: 145.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001385/4.4, allocations: 445.1 kB / 1.412 GB, free: 145.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/4.401, allocations: 0.7453 MB / 1.413 GB, free: 144.7 MB / 0.8419 GB Notification: Performance of SimCode: time 6.82e-07/4.401, allocations: 3.844 kB / 1.413 GB, free: 144.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3871/4.788, allocations: 142.2 MB / 1.552 GB, free: 467.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/4.788, allocations: 316.7 kB / 1.552 GB, free: 467.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/11.43, allocations: 0 / 1.552 GB, free: 467.1 MB / 0.8419 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicMultiFluidHeatExchangerShell_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicMultiFluidHeatExchangerShell.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe 2>&1)