Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.TestStaticPlateHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticPlateHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticPlateHeatExchanger",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.78/0.78, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 15.97 kB / 204.1 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 31.33 MB / 235.4 MB, free: 5.414 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.TestStaticPlateHeatExchanger): time 1.518/1.649, allocations: 295.7 MB / 0.5187 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5083/2.157, allocations: 189.6 MB / 0.7039 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/2.158, allocations: 16.19 kB / 0.7039 GB, free: 3.758 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:91:3-92:54:writable] Warning: Connector Ec 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/StaticPlateHeatExchanger.mo:93:3-94:54:writable] Warning: Connector Ef 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/StaticPlateHeatExchanger.mo:95:3-96:52:writable] Warning: Connector Sf 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/StaticPlateHeatExchanger.mo:97:3-98:51:writable] Warning: Connector Sc 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). Notification: Performance of NFTyping.typeComponents: time 0.0004322/2.158, allocations: 136.2 kB / 0.704 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005196/2.159, allocations: 290.9 kB / 0.7043 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02799/2.187, allocations: 8.93 MB / 0.713 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001916/2.189, allocations: 1.075 MB / 0.7141 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/2.189, allocations: 436.6 kB / 0.7145 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/2.19, allocations: 419.3 kB / 0.7149 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/2.19, allocations: 429.7 kB / 0.7153 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/2.191, allocations: 55.16 kB / 0.7153 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04072/2.231, allocations: 19.41 MB / 0.7343 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000372/2.232, allocations: 174.2 kB / 0.7345 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007971/2.233, allocations: 460.9 kB / 0.7349 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02779/2.26, allocations: 10.31 MB / 0.745 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/2.26, allocations: 0 / 0.745 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/2.26, allocations: 0 / 0.745 GB, free: 284 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.127e-05/2.26, allocations: 0 / 0.745 GB, free: 284 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.007818/2.268, allocations: 2.252 MB / 0.7472 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/2.268, allocations: 10.06 kB / 0.7472 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/2.269, allocations: 145.9 kB / 0.7473 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/2.269, allocations: 101 kB / 0.7474 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/2.269, allocations: 467 kB / 0.7479 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/2.27, allocations: 151.2 kB / 0.748 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/2.27, allocations: 75.84 kB / 0.7481 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/2.272, allocations: 0.9182 MB / 0.749 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/2.272, allocations: 4.969 kB / 0.749 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.977e-05/2.272, allocations: 32.75 kB / 0.749 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/2.272, allocations: 35.88 kB / 0.749 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/2.274, allocations: 0.6656 MB / 0.7497 GB, free: 13.98 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.0217/2.296, allocations: 12.81 MB / 0.7622 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/2.297, allocations: 445.2 kB / 0.7626 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/2.298, allocations: 264.8 kB / 0.7629 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1044/2.402, allocations: 52.23 MB / 0.8139 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/2.402, allocations: 33.69 kB / 0.8139 GB, free: 13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.314e-06/2.402, allocations: 0 / 0.8139 GB, free: 13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.01718/2.419, allocations: 3.027 MB / 0.8169 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/2.419, allocations: 55.41 kB / 0.8169 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/2.42, allocations: 0.4942 MB / 0.8174 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/2.42, allocations: 29.27 kB / 0.8174 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/2.42, allocations: 393.8 kB / 0.8178 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/2.421, allocations: 294.4 kB / 0.8181 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/2.421, allocations: 147 kB / 0.8182 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001683/2.421, allocations: 382.7 kB / 0.8186 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/2.421, allocations: 224.5 kB / 0.8188 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/2.422, allocations: 424.9 kB / 0.8192 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/2.423, allocations: 0.7058 MB / 0.8199 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/2.423, allocations: 1.094 kB / 0.8199 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002777/2.426, allocations: 1.095 MB / 0.821 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/2.426, allocations: 11.98 kB / 0.821 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/2.426, allocations: 4 kB / 0.821 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003154/2.429, allocations: 0.9437 MB / 0.8219 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/2.43, allocations: 65.88 kB / 0.822 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/2.432, allocations: 1.404 MB / 0.8234 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/2.433, allocations: 102 kB / 0.8234 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/2.433, allocations: 31 kB / 0.8235 GB, free: 4.938 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {(4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0003167/2.433, allocations: 202.1 kB / 0.8237 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/2.433, allocations: 67.09 kB / 0.8237 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/2.436, allocations: 1.763 MB / 0.8255 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002032/2.438, allocations: 1.201 MB / 0.8266 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/2.438, allocations: 4 kB / 0.8266 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/2.438, allocations: 3.984 kB / 0.8266 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/2.445, allocations: 3.046 MB / 0.8296 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/2.445, allocations: 0 / 0.8296 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/2.446, allocations: 97.23 kB / 0.8297 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/2.449, allocations: 0.9888 MB / 0.8307 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/2.449, allocations: 19.98 kB / 0.8307 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/2.451, allocations: 1.496 MB / 0.8321 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/2.451, allocations: 4 kB / 0.8322 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005355/2.456, allocations: 1.609 MB / 0.8337 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/2.457, allocations: 239.5 kB / 0.834 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/2.457, allocations: 19.91 kB / 0.834 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/2.457, allocations: 27.98 kB / 0.834 GB, free: 12.15 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/2.457, allocations: 60.48 kB / 0.8341 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/2.457, allocations: 23.98 kB / 0.8341 GB, free: 12.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004264/2.458, allocations: 358.8 kB / 0.8344 GB, free: 11.72 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.51e-07/2.458, allocations: 0 / 0.8344 GB, free: 11.72 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004522/2.462, allocations: 1.582 MB / 0.836 GB, free: 10.14 MB / 0.67 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 (62): * Single equations (assignments): 61 * 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 {(4,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01187/2.474, allocations: 4.381 MB / 0.8402 GB, free: 6.059 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002107/2.476, allocations: 1.085 MB / 0.8413 GB, free: 4.941 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.476, allocations: 0 / 0.8413 GB, free: 4.941 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/2.477, allocations: 0.5231 MB / 0.8418 GB, free: 4.434 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/2.479, allocations: 388.3 kB / 0.8422 GB, free: 4.059 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/2.494, allocations: 7.765 MB / 0.8498 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/2.495, allocations: 1.054 MB / 0.8508 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004067/2.495, allocations: 93.5 kB / 0.8509 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/2.496, allocations: 367.3 kB / 0.8512 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of SimCode: time 4.81e-07/2.496, allocations: 0 / 0.8512 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09839/2.594, allocations: 72.48 MB / 0.922 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/2.594, allocations: 254.8 kB / 0.9223 GB, free: 2.266 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.844/7.439, allocations: 0 / 0.9223 GB, free: 2.266 MB / 0.7481 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticPlateHeatExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticPlateHeatExchanger.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe 2>&1)