Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.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.TestDynamicPlateHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicPlateHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicPlateHeatExchanger",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.8379/0.8379, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.937e-05, allocations: 4 kB / 204.9 MB, free: 9.973 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1694, allocations: 31.98 MB / 236.9 MB, free: 5.41 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.TestDynamicPlateHeatExchanger): time 1.627/1.797, allocations: 299.4 MB / 0.5237 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.513/2.31, allocations: 194.4 MB / 0.7136 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/2.311, allocations: 31.84 kB / 0.7136 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/2.313, allocations: 256.9 kB / 0.7139 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/2.315, allocations: 0.7838 MB / 0.7146 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03033/2.346, allocations: 11.02 MB / 0.7254 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00666/2.352, allocations: 8.601 MB / 0.7338 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/2.356, allocations: 2.431 MB / 0.7362 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/2.358, allocations: 2.274 MB / 0.7384 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/2.362, allocations: 3.312 MB / 0.7416 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005976/2.363, allocations: 310 kB / 0.7419 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03708/2.4, allocations: 22.87 MB / 0.7643 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003163/2.403, allocations: 1.789 MB / 0.766 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004258/2.407, allocations: 2.35 MB / 0.7683 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03183/2.439, allocations: 17.03 MB / 0.7849 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/2.439, allocations: 0 / 0.7849 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/2.439, allocations: 0 / 0.7849 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001018/2.439, allocations: 0 / 0.7849 GB, free: 1.07 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: 1134 * Number of variables: 1134 Notification: Performance of Generate backend data structure: time 0.01798/2.457, allocations: 5.68 MB / 0.7905 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/2.457, allocations: 12.03 kB / 0.7905 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001211/2.458, allocations: 0.5878 MB / 0.7911 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008985/2.459, allocations: 446.9 kB / 0.7915 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/2.463, allocations: 2.092 MB / 0.7935 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004354/2.463, allocations: 457.5 kB / 0.794 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007085/2.464, allocations: 416 kB / 0.7944 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/2.476, allocations: 7.599 MB / 0.8018 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.553e-05/2.476, allocations: 2.906 kB / 0.8018 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005643/2.476, allocations: 177.1 kB / 0.802 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.767e-05/2.477, allocations: 115.9 kB / 0.8021 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/2.499, allocations: 18.34 MB / 0.82 GB, free: 13.41 MB / 0.6387 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.2004/2.7, allocations: 92.69 MB / 0.9105 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/2.715, allocations: 7.849 MB / 0.9182 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008033/2.723, allocations: 4.076 MB / 0.9221 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8/3.523, allocations: 346.1 MB / 1.26 GB, free: 148.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/3.523, allocations: 102.2 kB / 1.26 GB, free: 148.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=676): time 1.372e-05/3.523, allocations: 0 / 1.26 GB, free: 148.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=676): time 0.04527/3.568, allocations: 17.02 MB / 1.277 GB, free: 134.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/3.569, allocations: 141.7 kB / 1.277 GB, free: 134.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/3.57, allocations: 1.429 MB / 1.278 GB, free: 132.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0009613/3.571, allocations: 129.7 kB / 1.278 GB, free: 132.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005114/3.572, allocations: 1.024 MB / 1.279 GB, free: 131.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002139/3.574, allocations: 2.273 MB / 1.282 GB, free: 129.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/3.575, allocations: 0.4919 MB / 1.282 GB, free: 128.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.299e-05/3.575, allocations: 305.1 kB / 1.282 GB, free: 128.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/3.582, allocations: 3.607 MB / 1.286 GB, free: 124.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00705/3.589, allocations: 4.521 MB / 1.29 GB, free: 120.1 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/3.604, allocations: 8.648 MB / 1.299 GB, free: 111.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.082e-05/3.604, allocations: 7.938 kB / 1.299 GB, free: 111.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=806) (initialization): time 0.03421/3.638, allocations: 13.56 MB / 1.312 GB, free: 97.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/3.638, allocations: 12 kB / 1.312 GB, free: 97.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.405e-05/3.638, allocations: 20 kB / 1.312 GB, free: 97.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08333/3.721, allocations: 23.54 MB / 1.335 GB, free: 73.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/3.723, allocations: 367.4 kB / 1.335 GB, free: 73.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03044/3.753, allocations: 15.71 MB / 1.351 GB, free: 57.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/3.758, allocations: 0.6929 MB / 1.351 GB, free: 57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008544/3.759, allocations: 311.8 kB / 1.352 GB, free: 56.69 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 20 (sourceP3.C.ftype,sourceP2.C.ftype,echangeurAPlaques.fluid_c,echangeurAPlaques.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1,sourceP1.C.ftype,sourceP.C.ftype,echangeurAPlaques1D.fluid_c,echangeurAPlaques1D.fluid_f,puitsP.fluid,puitsP1.fluid,sourceP1.fluid1,sourceP.fluid1,echangeurAPlaques1D.Ef.diff_on_2,echangeurAPlaques1D.Sf.diff_on_1,echangeurAPlaques1D.Ec.diff_on_2,echangeurAPlaques1D.Sc.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,23), (60,460), (2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002071/3.761, allocations: 0.9001 MB / 1.353 GB, free: 55.79 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000741/3.761, allocations: 355.9 kB / 1.353 GB, free: 55.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02862/3.79, allocations: 15.14 MB / 1.368 GB, free: 40.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001624/3.792, allocations: 1.09 MB / 1.369 GB, free: 39.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/3.792, allocations: 3.938 kB / 1.369 GB, free: 39.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.488e-05/3.792, allocations: 35.86 kB / 1.369 GB, free: 39.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04039/3.832, allocations: 23.21 MB / 1.392 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.133e-05/3.832, allocations: 4 kB / 1.392 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/3.833, allocations: 270.2 kB / 1.392 GB, free: 15.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2529/4.086, allocations: 20.84 MB / 1.412 GB, free: 422.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001615/4.088, allocations: 227.1 kB / 1.412 GB, free: 422.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03498/4.123, allocations: 15.49 MB / 1.427 GB, free: 420.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/4.123, allocations: 11.09 kB / 1.428 GB, free: 420.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0297/4.152, allocations: 13.04 MB / 1.44 GB, free: 420 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003142/4.156, allocations: 1.388 MB / 1.442 GB, free: 419.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001377/4.157, allocations: 118.1 kB / 1.442 GB, free: 419.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/4.161, allocations: 296.6 kB / 1.442 GB, free: 419.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001372/4.162, allocations: 453.9 kB / 1.442 GB, free: 419.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009151/4.163, allocations: 273.4 kB / 1.443 GB, free: 419.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001316/4.165, allocations: 1.009 MB / 1.444 GB, free: 418.9 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/4.165, allocations: 0 / 1.444 GB, free: 418.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007823/4.172, allocations: 3.235 MB / 1.447 GB, free: 418.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (143): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,23), (60,463), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03566/4.208, allocations: 16.52 MB / 1.463 GB, free: 410 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02693/4.235, allocations: 10.48 MB / 1.473 GB, free: 401.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/4.235, allocations: 0 / 1.473 GB, free: 401.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01813/4.253, allocations: 5.763 MB / 1.479 GB, free: 396.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008163/4.262, allocations: 0.9903 MB / 1.48 GB, free: 395.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1515/4.413, allocations: 59.86 MB / 1.538 GB, free: 334 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/4.415, allocations: 2.322 MB / 1.541 GB, free: 331.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002276/4.417, allocations: 0.7115 MB / 1.541 GB, free: 331 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/4.419, allocations: 1.382 MB / 1.543 GB, free: 329.6 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/4.419, allocations: 0 / 1.543 GB, free: 329.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4236/4.842, allocations: 209.2 MB / 1.747 GB, free: 416.4 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/4.842, allocations: 305.6 kB / 1.747 GB, free: 416 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/13.63, allocations: 0 / 1.747 GB, free: 416 MB / 0.795 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicPlateHeatExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDynamicPlateHeatExchanger.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe 2>&1)