Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.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.TestStaticCondenserHEI,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenserHEI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenserHEI",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.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.507e-05, allocations: 4 kB / 204.9 MB, free: 9.98 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 31.99 MB / 236.9 MB, free: 5.445 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.TestStaticCondenserHEI): time 1.446/1.581, allocations: 300.5 MB / 0.5248 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4558/2.037, allocations: 191.9 MB / 0.7121 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009725/2.038, allocations: 31.25 kB / 0.7122 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005683/2.039, allocations: 254.9 kB / 0.7124 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0013/2.04, allocations: 0.6141 MB / 0.713 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02347/2.064, allocations: 10 MB / 0.7228 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002074/2.066, allocations: 2.415 MB / 0.7251 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008604/2.067, allocations: 1.058 MB / 0.7262 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007601/2.067, allocations: 0.8172 MB / 0.727 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/2.068, allocations: 0.8943 MB / 0.7278 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/2.068, allocations: 91.94 kB / 0.7279 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02988/2.098, allocations: 21.54 MB / 0.749 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/2.099, allocations: 334.5 kB / 0.7493 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/2.1, allocations: 0.9973 MB / 0.7503 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02232/2.122, allocations: 12.55 MB / 0.7625 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/2.122, allocations: 4 kB / 0.7625 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/2.122, allocations: 0 / 0.7625 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.91e-05/2.122, allocations: 0 / 0.7625 GB, free: 12.26 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: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.006359/2.128, allocations: 3.175 MB / 0.7656 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/2.128, allocations: 12.75 kB / 0.7656 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002598/2.129, allocations: 300.8 kB / 0.7659 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/2.129, allocations: 244.7 kB / 0.7661 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/2.13, allocations: 0.8764 MB / 0.767 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/2.13, allocations: 209.7 kB / 0.7672 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/2.13, allocations: 193.2 kB / 0.7674 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/2.133, allocations: 2.13 MB / 0.7695 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/2.133, allocations: 6.438 kB / 0.7695 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/2.133, allocations: 85.28 kB / 0.7696 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/2.133, allocations: 62.33 kB / 0.7696 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/2.136, allocations: 1.569 MB / 0.7711 GB, free: 8.492 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.2399/2.376, allocations: 138.3 MB / 0.9062 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/2.377, allocations: 0.808 MB / 0.907 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/2.378, allocations: 450.7 kB / 0.9075 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6703/3.048, allocations: 241.6 MB / 1.143 GB, free: 94.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/3.048, allocations: 50.34 kB / 1.143 GB, free: 94.33 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=132): time 3.226e-06/3.048, allocations: 0 / 1.143 GB, free: 94.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=132): time 0.01183/3.06, allocations: 3.684 MB / 1.147 GB, free: 91.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/3.06, allocations: 166.9 kB / 1.147 GB, free: 90.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/3.061, allocations: 1.18 MB / 1.148 GB, free: 90.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/3.061, allocations: 33.08 kB / 1.148 GB, free: 90.12 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/3.062, allocations: 0.9341 MB / 1.149 GB, free: 89.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/3.062, allocations: 462.2 kB / 1.15 GB, free: 89.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/3.062, allocations: 184.9 kB / 1.15 GB, free: 88.97 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.886e-05/3.062, allocations: 307.2 kB / 1.15 GB, free: 88.67 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008143/3.063, allocations: 469.6 kB / 1.151 GB, free: 88.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/3.064, allocations: 1.019 MB / 1.152 GB, free: 87.33 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/3.066, allocations: 1.542 MB / 1.153 GB, free: 86.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/3.066, allocations: 4 kB / 1.153 GB, free: 86.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003588/3.069, allocations: 2.197 MB / 1.155 GB, free: 84.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/3.069, allocations: 12 kB / 1.155 GB, free: 84.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/3.069, allocations: 20 kB / 1.155 GB, free: 84.51 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004813/3.074, allocations: 1.648 MB / 1.157 GB, free: 83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/3.075, allocations: 243.7 kB / 1.157 GB, free: 82.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/3.077, allocations: 4.626 MB / 1.162 GB, free: 78.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/3.079, allocations: 219.5 kB / 1.162 GB, free: 78.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/3.079, allocations: 82.92 kB / 1.162 GB, free: 78.14 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 36 (condenseur.Cex.ftype,Source_condenseur.C.ftype,sourceP.C.ftype,sourceP2.C.ftype,sourceP1.C.ftype,Puit_condenseur.fluid,condenseur.fluid_p,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.HEI,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,Source_condenseur.fluid1,singularPressureLoss5.C1.diff_on_2,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,singularPressureLoss3.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,singularPressureLoss1.C2.diff_on_1,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1,condenseur.fluids[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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): 7 systems {(1,3), (1,2), (1,3), (1,3), (1,3), (1,3), (4,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0005097/3.079, allocations: 359.9 kB / 1.162 GB, free: 77.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/3.079, allocations: 146.2 kB / 1.162 GB, free: 77.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/3.082, allocations: 1.942 MB / 1.164 GB, free: 76.51 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001814/3.084, allocations: 1.45 MB / 1.166 GB, free: 75.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/3.084, allocations: 4 kB / 1.166 GB, free: 75.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/3.084, allocations: 7.984 kB / 1.166 GB, free: 75.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005666/3.09, allocations: 4.325 MB / 1.17 GB, free: 72.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/3.09, allocations: 4.219 kB / 1.17 GB, free: 72.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/3.09, allocations: 122.1 kB / 1.17 GB, free: 72.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/3.094, allocations: 1.568 MB / 1.172 GB, free: 70.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/3.094, allocations: 34.11 kB / 1.172 GB, free: 70.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/3.096, allocations: 3.168 MB / 1.175 GB, free: 67.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/3.096, allocations: 11.47 kB / 1.175 GB, free: 67.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/3.099, allocations: 1.797 MB / 1.177 GB, free: 66.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/3.099, allocations: 344.3 kB / 1.177 GB, free: 66.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/3.099, allocations: 18.75 kB / 1.177 GB, free: 66.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/3.1, allocations: 42.27 kB / 1.177 GB, free: 66.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/3.1, allocations: 94.86 kB / 1.177 GB, free: 66.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/3.1, allocations: 35.38 kB / 1.177 GB, free: 66.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007344/3.101, allocations: 0.7439 MB / 1.178 GB, free: 65.62 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/3.101, allocations: 0 / 1.178 GB, free: 65.62 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004163/3.105, allocations: 2.018 MB / 1.18 GB, free: 63.91 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (condenseur.HEI,Source_condenseur.C.diff_on_2,singularPressureLoss4.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,3), (1,3), (1,2), (8,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008408/3.113, allocations: 4.707 MB / 1.184 GB, free: 60.22 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002657/3.116, allocations: 1.762 MB / 1.186 GB, free: 58.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/3.116, allocations: 0 / 1.186 GB, free: 58.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/3.117, allocations: 0.7954 MB / 1.187 GB, free: 58.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/3.12, allocations: 0.5328 MB / 1.187 GB, free: 57.92 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/3.137, allocations: 14.3 MB / 1.201 GB, free: 45.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/3.137, allocations: 1.388 MB / 1.203 GB, free: 43.76 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007567/3.138, allocations: 219 kB / 1.203 GB, free: 43.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005917/3.138, allocations: 0.7634 MB / 1.204 GB, free: 43.19 MB / 0.8106 GB Notification: Performance of SimCode: time 1.483e-06/3.139, allocations: 0 / 1.204 GB, free: 43.19 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.701/8.839, allocations: 86.62 MB / 1.288 GB, free: 436.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/8.839, allocations: 295.3 kB / 1.289 GB, free: 435.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.273/14.11, allocations: 0 / 1.289 GB, free: 435.7 MB / 0.8262 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenserHEI_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenserHEI.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe 2>&1)