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.7924/0.7924, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.604e-05, allocations: 4 kB / 204.9 MB, free: 9.953 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1352, allocations: 31.98 MB / 236.8 MB, free: 5.633 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.TestStaticPlateHeatExchanger): time 1.512/1.647, allocations: 296.6 MB / 0.5209 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4505/2.098, allocations: 187.4 MB / 0.704 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/2.098, allocations: 17.31 kB / 0.704 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003838/2.099, allocations: 130.8 kB / 0.7041 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006067/2.099, allocations: 295.5 kB / 0.7044 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02188/2.121, allocations: 9.151 MB / 0.7133 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001124/2.122, allocations: 1.071 MB / 0.7144 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/2.123, allocations: 393.6 kB / 0.7147 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/2.123, allocations: 378.2 kB / 0.7151 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/2.123, allocations: 380.2 kB / 0.7155 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.914e-05/2.123, allocations: 32.16 kB / 0.7155 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02825/2.152, allocations: 19.53 MB / 0.7346 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/2.152, allocations: 139.9 kB / 0.7347 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006507/2.153, allocations: 447.9 kB / 0.7351 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02084/2.173, allocations: 10.17 MB / 0.7451 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/2.173, allocations: 6.641 kB / 0.7451 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/2.173, allocations: 0 / 0.7451 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.476e-05/2.173, allocations: 1.938 kB / 0.7451 GB, free: 15.7 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005481/2.179, allocations: 2.09 MB / 0.7471 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/2.179, allocations: 11.56 kB / 0.7471 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/2.179, allocations: 144.3 kB / 0.7473 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/2.179, allocations: 107.8 kB / 0.7474 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/2.18, allocations: 467.9 kB / 0.7478 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/2.18, allocations: 152.1 kB / 0.7479 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/2.18, allocations: 71.22 kB / 0.748 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/2.181, allocations: 0.9253 MB / 0.7489 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/2.181, allocations: 6.922 kB / 0.7489 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/2.181, allocations: 27.44 kB / 0.749 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/2.181, allocations: 35.64 kB / 0.749 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/2.183, allocations: 0.6784 MB / 0.7496 GB, free: 13.42 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.01542/2.198, allocations: 12.84 MB / 0.7622 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/2.199, allocations: 457.2 kB / 0.7626 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/2.2, allocations: 268.1 kB / 0.7629 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08643/2.286, allocations: 52.56 MB / 0.8142 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/2.286, allocations: 34.25 kB / 0.8142 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 3.156e-06/2.286, allocations: 3.938 kB / 0.8142 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.01689/2.303, allocations: 3.193 MB / 0.8174 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/2.303, allocations: 59.41 kB / 0.8174 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/2.304, allocations: 0.4933 MB / 0.8179 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/2.304, allocations: 29.27 kB / 0.8179 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/2.304, allocations: 390.6 kB / 0.8183 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/2.304, allocations: 287.5 kB / 0.8186 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/2.304, allocations: 75.3 kB / 0.8186 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001197/2.304, allocations: 376.3 kB / 0.819 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/2.305, allocations: 241.8 kB / 0.8192 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/2.305, allocations: 420.7 kB / 0.8196 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/2.307, allocations: 0.7136 MB / 0.8203 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/2.307, allocations: 0 / 0.8203 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00262/2.309, allocations: 1.112 MB / 0.8214 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/2.309, allocations: 8 kB / 0.8214 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/2.309, allocations: 4 kB / 0.8214 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/2.312, allocations: 0.9542 MB / 0.8224 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/2.312, allocations: 69.28 kB / 0.8224 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/2.315, allocations: 1.418 MB / 0.8238 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/2.315, allocations: 98.31 kB / 0.8239 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/2.315, allocations: 35.36 kB / 0.8239 GB, free: 5.492 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.0002596/2.315, allocations: 197.9 kB / 0.8241 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/2.315, allocations: 71.14 kB / 0.8242 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/2.318, allocations: 1.768 MB / 0.8259 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001883/2.32, allocations: 1.211 MB / 0.8271 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/2.32, allocations: 4 kB / 0.8271 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/2.32, allocations: 3.984 kB / 0.8271 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/2.327, allocations: 3.085 MB / 0.8301 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/2.327, allocations: 0 / 0.8301 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/2.327, allocations: 101.4 kB / 0.8302 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/2.33, allocations: 0.9982 MB / 0.8312 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/2.33, allocations: 18.31 kB / 0.8312 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/2.332, allocations: 1.509 MB / 0.8327 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/2.332, allocations: 0 / 0.8327 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005096/2.337, allocations: 1.636 MB / 0.8343 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/2.338, allocations: 239.2 kB / 0.8345 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/2.338, allocations: 25.62 kB / 0.8345 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/2.338, allocations: 29.17 kB / 0.8346 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/2.338, allocations: 56.03 kB / 0.8346 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/2.338, allocations: 21.44 kB / 0.8346 GB, free: 13.39 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003956/2.339, allocations: 359.9 kB / 0.835 GB, free: 13.12 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/2.339, allocations: 4 kB / 0.835 GB, free: 13.11 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004168/2.343, allocations: 1.585 MB / 0.8365 GB, free: 11.64 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.0119/2.355, allocations: 4.373 MB / 0.8408 GB, free: 8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002148/2.357, allocations: 1.107 MB / 0.8419 GB, free: 7.137 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/2.357, allocations: 0 / 0.8419 GB, free: 7.137 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/2.358, allocations: 0.5114 MB / 0.8424 GB, free: 6.805 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/2.36, allocations: 393.5 kB / 0.8428 GB, free: 6.469 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/2.375, allocations: 7.829 MB / 0.8504 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/2.376, allocations: 1.058 MB / 0.8514 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003951/2.376, allocations: 101.4 kB / 0.8515 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/2.377, allocations: 363.3 kB / 0.8519 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/2.377, allocations: 0 / 0.8519 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/2.478, allocations: 70.97 MB / 0.9212 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/2.478, allocations: 256.1 kB / 0.9214 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.935/7.414, allocations: 4 kB / 0.9214 GB, free: 6.117 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)