Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.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.TestDiffusion_DynamicPlateHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicPlateHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicPlateHeatExchanger",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.8567/0.8567, allocations: 150.9 MB / 166 MB, free: 14.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003633, allocations: 19.97 kB / 204.1 MB, free: 9.984 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2461, allocations: 31.32 MB / 235.4 MB, free: 5.438 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.TestDiffusion_DynamicPlateHeatExchanger): time 2.008/2.254, allocations: 295.6 MB / 0.5186 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.8157/3.07, allocations: 195.8 MB / 0.7098 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/3.071, allocations: 19.89 kB / 0.7099 GB, free: 3.418 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:227:3-228: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/DynamicPlateHeatExchanger.mo:229:3-230: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/DynamicPlateHeatExchanger.mo:231:3-232: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/DynamicPlateHeatExchanger.mo:233:3-234:52: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/SourcePQ.mo:74:3-75: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/Sink.mo:39:3-40: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.0004776/3.071, allocations: 129.8 kB / 0.71 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/3.073, allocations: 0.5081 MB / 0.7105 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04311/3.116, allocations: 10.56 MB / 0.7208 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008535/3.124, allocations: 7.545 MB / 0.7282 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004657/3.129, allocations: 2.094 MB / 0.7302 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005071/3.134, allocations: 1.941 MB / 0.7321 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006213/3.14, allocations: 2.999 MB / 0.735 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002852/3.143, allocations: 295.1 kB / 0.7353 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05206/3.195, allocations: 22.7 MB / 0.7575 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004073/3.199, allocations: 1.686 MB / 0.7591 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007417/3.207, allocations: 1.96 MB / 0.761 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0462/3.253, allocations: 16.26 MB / 0.7769 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/3.253, allocations: 0 / 0.7769 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.482e-06/3.253, allocations: 0 / 0.7769 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001444/3.253, allocations: 0 / 0.7769 GB, free: 3.434 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.02281/3.276, allocations: 5.764 MB / 0.7825 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/3.276, allocations: 8.031 kB / 0.7826 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007773/3.277, allocations: 484.6 kB / 0.783 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/3.278, allocations: 352.1 kB / 0.7833 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/3.281, allocations: 1.787 MB / 0.7851 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/3.281, allocations: 306.9 kB / 0.7854 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005836/3.282, allocations: 332 kB / 0.7857 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/3.294, allocations: 6.715 MB / 0.7923 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/3.294, allocations: 7 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004415/3.295, allocations: 139.9 kB / 0.7924 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.444e-05/3.295, allocations: 84 kB / 0.7925 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02311/3.318, allocations: 17.66 MB / 0.8097 GB, free: 1.98 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.1201/3.438, allocations: 53.66 MB / 0.8621 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/3.452, allocations: 7.463 MB / 0.8694 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007636/3.46, allocations: 3.827 MB / 0.8732 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7678/4.228, allocations: 256.5 MB / 1.124 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/4.228, allocations: 95.25 kB / 1.124 GB, free: 324 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=590): time 1.018e-05/4.228, allocations: 4 kB / 1.124 GB, free: 324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=590): time 0.03835/4.266, allocations: 14.7 MB / 1.138 GB, free: 313.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/4.267, allocations: 114.3 kB / 1.138 GB, free: 313.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/4.268, allocations: 0.9936 MB / 1.139 GB, free: 312.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.001073/4.269, allocations: 121.1 kB / 1.139 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/4.269, allocations: 0.7069 MB / 1.14 GB, free: 312.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/4.271, allocations: 1.995 MB / 1.142 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003486/4.275, allocations: 1.09 MB / 1.143 GB, free: 309.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001011/4.275, allocations: 364.7 kB / 1.143 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006858/4.282, allocations: 3.378 MB / 1.147 GB, free: 306.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007294/4.289, allocations: 4.104 MB / 1.151 GB, free: 302.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01442/4.304, allocations: 7.94 MB / 1.158 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-05/4.304, allocations: 8 kB / 1.158 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02857/4.332, allocations: 12.27 MB / 1.17 GB, free: 282.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/4.332, allocations: 12 kB / 1.17 GB, free: 282.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/4.332, allocations: 12 kB / 1.17 GB, free: 282.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0812/4.414, allocations: 22.71 MB / 1.193 GB, free: 259.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/4.415, allocations: 299.2 kB / 1.193 GB, free: 259.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03507/4.45, allocations: 14.36 MB / 1.207 GB, free: 244.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/4.454, allocations: 0.5902 MB / 1.207 GB, free: 244.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/4.456, allocations: 287.8 kB / 1.208 GB, free: 243.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 12 (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 (155): * Single equations (assignments): 153 * 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 {(60,460), (2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003045/4.459, allocations: 0.7977 MB / 1.209 GB, free: 243.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001497/4.46, allocations: 295.4 kB / 1.209 GB, free: 242.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03352/4.494, allocations: 13.6 MB / 1.222 GB, free: 229.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-05/4.494, allocations: 56 kB / 1.222 GB, free: 229.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/4.494, allocations: 0 / 1.222 GB, free: 229.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001105/4.494, allocations: 31.88 kB / 1.222 GB, free: 229.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04852/4.543, allocations: 20.44 MB / 1.242 GB, free: 208.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/4.543, allocations: 0 / 1.242 GB, free: 208.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/4.544, allocations: 165.9 kB / 1.242 GB, free: 208.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07488/4.618, allocations: 19.87 MB / 1.262 GB, free: 188.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00172/4.62, allocations: 207.8 kB / 1.262 GB, free: 188.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0324/4.653, allocations: 14.14 MB / 1.276 GB, free: 174.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/4.653, allocations: 4.562 kB / 1.276 GB, free: 174.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03623/4.689, allocations: 12.09 MB / 1.288 GB, free: 162 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003086/4.692, allocations: 1.203 MB / 1.289 GB, free: 160.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/4.694, allocations: 96 kB / 1.289 GB, free: 160.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004103/4.698, allocations: 263.8 kB / 1.289 GB, free: 160.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001593/4.699, allocations: 388.2 kB / 1.289 GB, free: 160 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001128/4.701, allocations: 240.5 kB / 1.29 GB, free: 159.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008078/4.701, allocations: 0.6419 MB / 1.29 GB, free: 159.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/4.701, allocations: 0 / 1.29 GB, free: 159.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.008297/4.71, allocations: 2.994 MB / 1.293 GB, free: 156.3 MB / 0.8106 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 (79): * Single equations (assignments): 77 * 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 {(60,463), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03539/4.745, allocations: 14.95 MB / 1.308 GB, free: 141.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02539/4.771, allocations: 9.317 MB / 1.317 GB, free: 132.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/4.771, allocations: 0 / 1.317 GB, free: 132.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01856/4.789, allocations: 5.239 MB / 1.322 GB, free: 127.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/4.794, allocations: 0.6251 MB / 1.323 GB, free: 126.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1417/4.936, allocations: 50.75 MB / 1.372 GB, free: 74.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/4.937, allocations: 1.921 MB / 1.374 GB, free: 72.19 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001981/4.939, allocations: 0.6127 MB / 1.375 GB, free: 71.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/4.94, allocations: 0.9406 MB / 1.376 GB, free: 70.64 MB / 0.8106 GB Notification: Performance of SimCode: time 1.072e-06/4.941, allocations: 0 / 1.376 GB, free: 70.64 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4142/5.355, allocations: 189.2 MB / 1.56 GB, free: 356.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/5.355, allocations: 322.1 kB / 1.561 GB, free: 356.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/13.12, allocations: 3.25 kB / 1.561 GB, free: 356.2 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicPlateHeatExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestDiffusion_DynamicPlateHeatExchanger.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe 2>&1)