Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.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.TestCheckValve,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCheckValve",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.7963/0.7963, allocations: 150.9 MB / 166.5 MB, free: 14.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 17.95 kB / 236.6 MB, free: 2.008 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05608/0.05644, allocations: 31.34 MB / 267.9 MB, free: 7.559 MB / 222.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.TestCheckValve): time 1.621/1.678, allocations: 300.8 MB / 0.5554 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6222/2.3, allocations: 196.9 MB / 0.7477 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/2.302, allocations: 32.22 kB / 0.7478 GB, free: 1.711 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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/SinkP.mo:46:3-47:67: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/Machines/StaticCentrifugalPump.mo:63:3-64:67: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/Machines/StaticCentrifugalPump.mo:65:3-66:65: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/Machines/StaticCentrifugalPump.mo:63:3-64:67: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/Machines/StaticCentrifugalPump.mo:65:3-66:65: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/Volumes/VolumeD.mo:104:3-105:67:writable] Warning: Connector Ce 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/Volumes/VolumeD.mo:106:3-107:73:writable] Warning: Connector Cs1 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/Volumes/VolumeD.mo:108:3-109:75:writable] Warning: Connector Cs2 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/Volumes/VolumeD.mo:110:3-111:71:writable] Warning: Connector Cs3 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/PressureLosses/CheckValve.mo:37:3-38:68: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/PressureLosses/CheckValve.mo:39:3-40:66: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/PressureLosses/CheckValve.mo:37:3-38:68: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/PressureLosses/CheckValve.mo:39:3-40:66: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/Volumes/VolumeC.mo:103:3-105:59:writable] Warning: Connector Ce1 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/Volumes/VolumeC.mo:106:3-108:57:writable] Warning: Connector Ce2 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/Volumes/VolumeC.mo:109:3-110:65:writable] Warning: Connector Cs 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/Volumes/VolumeC.mo:111:3-113:24:writable] Warning: Connector Ce3 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/PressureLosses/LumpedStraightPipe.mo:54:3-55:67: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/PressureLosses/LumpedStraightPipe.mo:56:3-57:65: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/PressureLosses/LumpedStraightPipe.mo:54:3-55:67: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/PressureLosses/LumpedStraightPipe.mo:56:3-57:65: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/SourceP.mo:58:3-59: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/SinkP.mo:46:3-47:67: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/PressureLosses/CheckValve.mo:37:3-38:68: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/PressureLosses/CheckValve.mo:39:3-40:66:writable] Warning: Connector C2 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.0009369/2.303, allocations: 257.6 kB / 0.748 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/2.305, allocations: 0.6697 MB / 0.7486 GB, free: 1.707 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.04456/2.35, allocations: 14.52 MB / 0.7628 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00383/2.354, allocations: 2.708 MB / 0.7655 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/2.356, allocations: 1.355 MB / 0.7668 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/2.357, allocations: 1.053 MB / 0.7678 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/2.358, allocations: 1.163 MB / 0.769 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003305/2.359, allocations: 245.1 kB / 0.7692 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04853/2.407, allocations: 22.77 MB / 0.7914 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/2.408, allocations: 0.5498 MB / 0.792 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002109/2.411, allocations: 1.227 MB / 0.7932 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04135/2.452, allocations: 13.51 MB / 0.8064 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/2.452, allocations: 4 kB / 0.8064 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.526e-06/2.452, allocations: 0 / 0.8064 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.687e-05/2.452, allocations: 4.875 kB / 0.8064 GB, free: 1.359 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 * Number of variables: 575 Notification: Performance of Generate backend data structure: time 0.01049/2.463, allocations: 4.073 MB / 0.8103 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/2.463, allocations: 8.031 kB / 0.8104 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003734/2.463, allocations: 324.3 kB / 0.8107 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/2.463, allocations: 278.4 kB / 0.8109 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/2.465, allocations: 1.02 MB / 0.8119 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/2.465, allocations: 252.2 kB / 0.8122 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/2.466, allocations: 228.9 kB / 0.8124 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/2.469, allocations: 2.403 MB / 0.8147 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.071e-05/2.47, allocations: 9.156 kB / 0.8147 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/2.47, allocations: 100.7 kB / 0.8148 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/2.47, allocations: 60 kB / 0.8149 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/2.473, allocations: 1.869 MB / 0.8167 GB, free: 6.582 MB / 0.6231 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.02857/2.502, allocations: 22.29 MB / 0.8385 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/2.504, allocations: 1.183 MB / 0.8396 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/2.505, allocations: 493.4 kB / 0.8401 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7889/3.294, allocations: 294.4 MB / 1.128 GB, free: 336.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/3.295, allocations: 0.589 MB / 1.128 GB, free: 335.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=104): time 3.897e-06/3.295, allocations: 0 / 1.128 GB, free: 335.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=104): time 0.0133/3.309, allocations: 3.539 MB / 1.132 GB, free: 332.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/3.309, allocations: 252.6 kB / 1.132 GB, free: 332.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/3.31, allocations: 1.236 MB / 1.133 GB, free: 331.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/3.31, allocations: 48.7 kB / 1.133 GB, free: 331.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005862/3.311, allocations: 1.059 MB / 1.134 GB, free: 330.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/3.311, allocations: 377.7 kB / 1.135 GB, free: 330.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000451/3.312, allocations: 423.5 kB / 1.135 GB, free: 330.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 4.112e-05/3.312, allocations: 301.1 kB / 1.135 GB, free: 330.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/3.312, allocations: 438.8 kB / 1.136 GB, free: 329.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/3.313, allocations: 1.265 MB / 1.137 GB, free: 328.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/3.316, allocations: 1.996 MB / 1.139 GB, free: 326.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-05/3.316, allocations: 12 kB / 1.139 GB, free: 326.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.003561/3.32, allocations: 2.18 MB / 1.141 GB, free: 325 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/3.32, allocations: 21.5 kB / 1.141 GB, free: 325 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/3.32, allocations: 31.56 kB / 1.141 GB, free: 325 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/3.324, allocations: 1.058 MB / 1.142 GB, free: 324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007129/3.325, allocations: 301.1 kB / 1.142 GB, free: 323.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/3.327, allocations: 1.909 MB / 1.144 GB, free: 322.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/3.328, allocations: 246 kB / 1.144 GB, free: 322 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/3.328, allocations: 107.7 kB / 1.145 GB, free: 321.9 MB / 0.8262 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.checkValve1.touvert,$whenCondition7,$PRE.checkValve1.tferme,$whenCondition6,$PRE.checkValve2.touvert,$whenCondition5,$PRE.checkValve2.tferme,$whenCondition4,$PRE.checkValve3.touvert,$whenCondition3,$PRE.checkValve3.tferme,$whenCondition2,$whenCondition1,volumeC.Cs.ftype,sourceP.C.ftype,volumeC.Ce1.ftype,volumeD.Cs2.ftype,volumeD.Cs1.ftype,volumeC.fluids[1],volumeD.Cs3.ftype,volumeD.fluids[1],puitsP.fluid,staticCentrifugalPump1.fluid,staticCentrifugalPump2.fluid,checkValve1.fluid,checkValve2.fluid,perteDP.fluid,perteDP1.fluid,checkValve2.tferme,checkValve2.touvert,checkValve2.ouvert,$PRE.checkValve2.ouvert,checkValve1.tferme,checkValve1.touvert,checkValve1.ouvert,$PRE.checkValve1.ouvert,sourceP1.C.ftype,$PRE.pulse.T0,puitsP1.fluid,checkValve3.fluid,checkValve3.tferme,checkValve3.touvert,checkValve3.ouvert,$PRE.checkValve3.ouvert,pulse.T0,sourceP1.fluid1,volumeC.fluid1,volumeD.fluid1,sourceP.fluid1,sourceP1.C.diff_on_2,checkValve3.C2.diff_on_1,volumeC.Cs.diff_on_1,volumeD.Ce.diff_on_2,volumeC.Ce3.diff_on_2,staticCentrifugalPump2.C2.diff_on_2,volumeD.Cs2.diff_on_2,volumeC.Ce2.diff_on_2,staticCentrifugalPump1.C2.diff_on_2,volumeD.Cs1.diff_on_2,volumeC.Ce1.diff_on_2,volumeC.Ce1.diff_on_1,volumeD.Cs2.diff_on_1,staticCentrifugalPump2.C2.diff_on_1,checkValve2.C2.diff_on_1,volumeD.Cs1.diff_on_1,staticCentrifugalPump1.C2.diff_on_1,checkValve1.C2.diff_on_1,volumeD.Cs3.diff_on_1,volumeD.Cs3.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 195 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(10,40), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007515/3.329, allocations: 431.9 kB / 1.145 GB, free: 321.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/3.329, allocations: 167 kB / 1.145 GB, free: 321.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/3.332, allocations: 1.36 MB / 1.146 GB, free: 320.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/3.332, allocations: 12 kB / 1.146 GB, free: 320.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/3.332, allocations: 4.562 kB / 1.146 GB, free: 320.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/3.332, allocations: 3.984 kB / 1.146 GB, free: 320.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/3.336, allocations: 3.129 MB / 1.15 GB, free: 317.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/3.336, allocations: 0 / 1.15 GB, free: 317.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/3.336, allocations: 94.73 kB / 1.15 GB, free: 317.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003414/3.34, allocations: 0.8423 MB / 1.15 GB, free: 316.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/3.34, allocations: 32.53 kB / 1.15 GB, free: 316.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/3.341, allocations: 1.758 MB / 1.152 GB, free: 314.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.341, allocations: 4.031 kB / 1.152 GB, free: 314.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/3.344, allocations: 1.749 MB / 1.154 GB, free: 313.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/3.344, allocations: 334.8 kB / 1.154 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/3.345, allocations: 24 kB / 1.154 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/3.345, allocations: 44.52 kB / 1.154 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/3.345, allocations: 80.55 kB / 1.154 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/3.346, allocations: 43.98 kB / 1.154 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008437/3.346, allocations: 0.7588 MB / 1.155 GB, free: 311.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/3.346, allocations: 0 / 1.155 GB, free: 311.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005613/3.352, allocations: 2.271 MB / 1.157 GB, free: 309.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volumeD.h,volumeC.h) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T0,checkValve3.ouvert,checkValve3.touvert,checkValve3.tferme,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,checkValve1.ouvert,checkValve1.touvert,checkValve1.tferme,checkValve2.ouvert,checkValve2.touvert,checkValve2.tferme) * Number of discrete states: 6 (checkValve1.touvert,checkValve1.tferme,checkValve2.touvert,checkValve2.tferme,checkValve3.touvert,checkValve3.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (8,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01186/3.364, allocations: 5.088 MB / 1.162 GB, free: 305.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002843/3.367, allocations: 1.303 MB / 1.164 GB, free: 303.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/3.367, allocations: 0 / 1.164 GB, free: 303.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/3.368, allocations: 0.5459 MB / 1.164 GB, free: 303.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/3.37, allocations: 339.9 kB / 1.164 GB, free: 303.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/3.39, allocations: 13.32 MB / 1.177 GB, free: 289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/3.391, allocations: 1.324 MB / 1.179 GB, free: 287.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007/3.392, allocations: 231.1 kB / 1.179 GB, free: 287.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/3.392, allocations: 0.718 MB / 1.18 GB, free: 286.7 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/3.392, allocations: 0 / 1.18 GB, free: 286.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/3.501, allocations: 85.39 MB / 1.263 GB, free: 202.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/19.91, allocations: 1.641 kB / 1.263 GB, free: 202.7 MB / 0.8262 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestCheckValve.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCheckValve.pipe 2>&1)