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.8926/0.8926, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.225e-05, allocations: 4 kB / 204.9 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 31.98 MB / 236.8 MB, free: 5.402 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.TestDiffusion_DynamicPlateHeatExchanger): time 1.958/2.21, allocations: 296.5 MB / 0.5209 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7923/3.002, allocations: 193.5 MB / 0.7098 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009776/3.003, allocations: 19.19 kB / 0.7098 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003807/3.003, allocations: 120.9 kB / 0.7099 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/3.005, allocations: 0.5107 MB / 0.7104 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0408/3.046, allocations: 10.79 MB / 0.721 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007742/3.053, allocations: 7.55 MB / 0.7284 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004754/3.058, allocations: 2.052 MB / 0.7304 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/3.063, allocations: 1.907 MB / 0.7322 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006894/3.07, allocations: 2.94 MB / 0.7351 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002731/3.073, allocations: 278.3 kB / 0.7354 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05448/3.127, allocations: 22.8 MB / 0.7576 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004415/3.132, allocations: 1.657 MB / 0.7592 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007182/3.139, allocations: 1.947 MB / 0.7612 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05582/3.195, allocations: 16.05 MB / 0.7768 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/3.195, allocations: 0 / 0.7768 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.44e-06/3.195, allocations: 1.859 kB / 0.7768 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002939/3.195, allocations: 4 kB / 0.7768 GB, free: 5.18 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.02286/3.218, allocations: 4.984 MB / 0.7817 GB, free: 388 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/3.218, allocations: 8.031 kB / 0.7817 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001955/3.22, allocations: 0.4892 MB / 0.7822 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/3.221, allocations: 340.3 kB / 0.7825 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/3.225, allocations: 1.792 MB / 0.7843 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003122/3.225, allocations: 311.8 kB / 0.7846 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006945/3.226, allocations: 329.9 kB / 0.7849 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/3.24, allocations: 6.713 MB / 0.7914 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.835e-05/3.24, allocations: 0 / 0.7914 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/3.24, allocations: 144 kB / 0.7916 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/3.24, allocations: 84 kB / 0.7916 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02492/3.265, allocations: 17.66 MB / 0.8089 GB, free: 6.773 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.1335/3.399, allocations: 53.95 MB / 0.8616 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/3.414, allocations: 7.455 MB / 0.8689 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008311/3.423, allocations: 3.834 MB / 0.8726 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7604/4.183, allocations: 258.7 MB / 1.125 GB, free: 297.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/4.183, allocations: 91.94 kB / 1.125 GB, free: 297 MB / 0.795 GB Notification: Performance of pre-optimization done (n=590): time 2.365e-05/4.183, allocations: 0 / 1.125 GB, free: 297 MB / 0.795 GB Notification: Performance of matching and sorting (n=590): time 0.04075/4.224, allocations: 14.71 MB / 1.14 GB, free: 286.7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/4.224, allocations: 112 kB / 1.14 GB, free: 286.6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/4.226, allocations: 0.9873 MB / 1.141 GB, free: 285.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001722/4.228, allocations: 119.5 kB / 1.141 GB, free: 285.8 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/4.228, allocations: 0.7146 MB / 1.142 GB, free: 285.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002546/4.231, allocations: 2 MB / 1.144 GB, free: 283.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001431/4.232, allocations: 436.1 kB / 1.144 GB, free: 283.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/4.232, allocations: 365.3 kB / 1.144 GB, free: 282.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006663/4.239, allocations: 3.373 MB / 1.148 GB, free: 280.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007398/4.246, allocations: 4.105 MB / 1.152 GB, free: 275.8 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01447/4.261, allocations: 7.944 MB / 1.159 GB, free: 267.6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/4.261, allocations: 4 kB / 1.159 GB, free: 267.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.03109/4.292, allocations: 12.29 MB / 1.171 GB, free: 255.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/4.292, allocations: 15.98 kB / 1.171 GB, free: 255.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/4.292, allocations: 16.66 kB / 1.171 GB, free: 255.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08027/4.372, allocations: 22.8 MB / 1.194 GB, free: 232.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/4.374, allocations: 299.5 kB / 1.194 GB, free: 232.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03276/4.406, allocations: 14.39 MB / 1.208 GB, free: 217.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00481/4.411, allocations: 0.5926 MB / 1.209 GB, free: 217 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/4.413, allocations: 277 kB / 1.209 GB, free: 216.7 MB / 0.795 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.002794/4.416, allocations: 0.7978 MB / 1.21 GB, free: 215.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/4.417, allocations: 293.2 kB / 1.21 GB, free: 215.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03108/4.448, allocations: 13.6 MB / 1.223 GB, free: 202 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-05/4.448, allocations: 56 kB / 1.223 GB, free: 202 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/4.448, allocations: 5.875 kB / 1.223 GB, free: 202 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-05/4.448, allocations: 27.89 kB / 1.223 GB, free: 201.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04163/4.49, allocations: 20.44 MB / 1.243 GB, free: 181.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/4.49, allocations: 3 kB / 1.243 GB, free: 181.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/4.491, allocations: 161.9 kB / 1.243 GB, free: 181.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07159/4.562, allocations: 19.97 MB / 1.263 GB, free: 161.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001502/4.564, allocations: 195.9 kB / 1.263 GB, free: 161.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02802/4.592, allocations: 14.17 MB / 1.277 GB, free: 146.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/4.592, allocations: 0 / 1.277 GB, free: 146.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02902/4.621, allocations: 12.07 MB / 1.289 GB, free: 134.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/4.624, allocations: 1.21 MB / 1.29 GB, free: 133.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/4.625, allocations: 99.94 kB / 1.29 GB, free: 133.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003487/4.629, allocations: 255.8 kB / 1.29 GB, free: 133.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/4.63, allocations: 384.2 kB / 1.291 GB, free: 132.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009564/4.631, allocations: 239.8 kB / 1.291 GB, free: 132.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008739/4.632, allocations: 0.6458 MB / 1.291 GB, free: 131.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/4.632, allocations: 0 / 1.291 GB, free: 131.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009852/4.642, allocations: 2.999 MB / 1.294 GB, free: 129 MB / 0.795 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.0317/4.674, allocations: 14.9 MB / 1.309 GB, free: 114.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02422/4.698, allocations: 9.345 MB / 1.318 GB, free: 105.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/4.698, allocations: 0 / 1.318 GB, free: 105.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01677/4.715, allocations: 5.258 MB / 1.323 GB, free: 99.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/4.719, allocations: 0.6156 MB / 1.324 GB, free: 99.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1309/4.85, allocations: 50.61 MB / 1.373 GB, free: 46.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/4.852, allocations: 1.929 MB / 1.375 GB, free: 44.84 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002064/4.855, allocations: 0.6087 MB / 1.376 GB, free: 44.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/4.856, allocations: 0.9406 MB / 1.377 GB, free: 43.3 MB / 0.795 GB Notification: Performance of SimCode: time 2.144e-06/4.856, allocations: 0 / 1.377 GB, free: 43.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4443/5.3, allocations: 186 MB / 1.558 GB, free: 309.8 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/5.3, allocations: 312.5 kB / 1.559 GB, free: 309.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/13.02, allocations: 0 / 1.559 GB, free: 309.4 MB / 0.795 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)