Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.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.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenser",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.7998/0.7998, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.778e-05/1.773e-05, allocations: 4 kB / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 31.98 MB / 236.8 MB, free: 5.406 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.TestStaticCondenser): time 1.447/1.585, allocations: 299.8 MB / 0.5241 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4626/2.047, allocations: 191.5 MB / 0.711 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/2.048, allocations: 28.06 kB / 0.7111 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000588/2.049, allocations: 230.2 kB / 0.7113 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/2.05, allocations: 0.5608 MB / 0.7118 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02418/2.074, allocations: 9.938 MB / 0.7215 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001983/2.076, allocations: 2.085 MB / 0.7236 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008621/2.077, allocations: 0.9666 MB / 0.7245 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/2.078, allocations: 0.7042 MB / 0.7252 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/2.079, allocations: 0.7547 MB / 0.7259 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/2.079, allocations: 78.09 kB / 0.726 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0321/2.111, allocations: 21.53 MB / 0.747 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/2.111, allocations: 291 kB / 0.7473 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/2.112, allocations: 0.8854 MB / 0.7482 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02262/2.135, allocations: 12.11 MB / 0.76 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/2.135, allocations: 0 / 0.76 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/2.135, allocations: 4 kB / 0.76 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.993e-05/2.135, allocations: 0 / 0.76 GB, free: 12.76 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: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.005819/2.141, allocations: 2.913 MB / 0.7629 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/2.141, allocations: 8.031 kB / 0.7629 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/2.141, allocations: 283.2 kB / 0.7631 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/2.141, allocations: 221.6 kB / 0.7634 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009042/2.142, allocations: 0.7987 MB / 0.7641 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/2.142, allocations: 144.2 kB / 0.7643 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/2.143, allocations: 188.2 kB / 0.7645 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/2.145, allocations: 1.934 MB / 0.7663 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/2.145, allocations: 5.656 kB / 0.7663 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/2.145, allocations: 78.25 kB / 0.7664 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/2.145, allocations: 52.94 kB / 0.7665 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/2.147, allocations: 1.304 MB / 0.7677 GB, free: 9.367 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.2185/2.366, allocations: 107 MB / 0.8723 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/2.367, allocations: 0.6511 MB / 0.8729 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/2.367, allocations: 316.2 kB / 0.8732 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5789/2.946, allocations: 237.4 MB / 1.105 GB, free: 348.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/2.946, allocations: 50.97 kB / 1.105 GB, free: 348.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=96): time 2.525e-06/2.946, allocations: 0 / 1.105 GB, free: 348.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96): time 0.007774/2.954, allocations: 2.542 MB / 1.108 GB, free: 346.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/2.954, allocations: 174.8 kB / 1.108 GB, free: 345.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/2.955, allocations: 0.9532 MB / 1.109 GB, free: 345.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/2.955, allocations: 35.45 kB / 1.109 GB, free: 345.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/2.955, allocations: 0.8604 MB / 1.11 GB, free: 344.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/2.956, allocations: 333.9 kB / 1.11 GB, free: 344.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/2.956, allocations: 164.4 kB / 1.11 GB, free: 344.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.757e-05/2.956, allocations: 357.6 kB / 1.11 GB, free: 343.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/2.956, allocations: 335.1 kB / 1.111 GB, free: 343.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/2.957, allocations: 0.8713 MB / 1.112 GB, free: 342.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/2.958, allocations: 1.262 MB / 1.113 GB, free: 341.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/2.958, allocations: 8 kB / 1.113 GB, free: 341.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.002718/2.961, allocations: 1.767 MB / 1.114 GB, free: 340.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/2.961, allocations: 12 kB / 1.114 GB, free: 340.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/2.961, allocations: 24.83 kB / 1.115 GB, free: 340.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/2.964, allocations: 1.04 MB / 1.116 GB, free: 339.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/2.964, allocations: 211.5 kB / 1.116 GB, free: 339 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/2.966, allocations: 4.398 MB / 1.12 GB, free: 334.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/2.967, allocations: 177.6 kB / 1.12 GB, free: 334.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/2.967, allocations: 75.7 kB / 1.12 GB, free: 334.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 35 (condenseur.Cex.ftype,Source_condenseur.C.ftype,sourceP.C.ftype,sourceP2.C.ftype,sourceP1.C.ftype,condenseur.fluids[1],Puit_condenseur.fluid,condenseur.fluid_p,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1), (1,3), (1,3), (1,3), (1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004174/2.967, allocations: 338.5 kB / 1.121 GB, free: 334.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/2.968, allocations: 118.3 kB / 1.121 GB, free: 334.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/2.969, allocations: 1.475 MB / 1.122 GB, free: 333.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00124/2.971, allocations: 1.066 MB / 1.123 GB, free: 332.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/2.971, allocations: 4 kB / 1.123 GB, free: 332.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/2.971, allocations: 3.984 kB / 1.123 GB, free: 332.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/2.975, allocations: 3.404 MB / 1.127 GB, free: 329.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/2.975, allocations: 4 kB / 1.127 GB, free: 329.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/2.975, allocations: 78.34 kB / 1.127 GB, free: 329.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/2.978, allocations: 1.164 MB / 1.128 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/2.978, allocations: 26.55 kB / 1.128 GB, free: 328.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/2.98, allocations: 2.978 MB / 1.131 GB, free: 325.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/2.98, allocations: 0 / 1.131 GB, free: 325.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/2.982, allocations: 1.468 MB / 1.132 GB, free: 324.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/2.982, allocations: 275.1 kB / 1.132 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/2.983, allocations: 20 kB / 1.132 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/2.983, allocations: 23.98 kB / 1.132 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/2.983, allocations: 64.86 kB / 1.132 GB, free: 324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/2.983, allocations: 29.56 kB / 1.132 GB, free: 324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005488/2.984, allocations: 0.5884 MB / 1.133 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/2.984, allocations: 0 / 1.133 GB, free: 323.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003856/2.988, allocations: 1.919 MB / 1.135 GB, free: 321.7 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: 2 (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 (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1), (1,3), (6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008372/2.996, allocations: 4.356 MB / 1.139 GB, free: 317.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001849/2.998, allocations: 1.246 MB / 1.14 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.998, allocations: 0 / 1.14 GB, free: 316.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000838/2.999, allocations: 0.5492 MB / 1.141 GB, free: 315.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/3.001, allocations: 441.3 kB / 1.141 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/3.014, allocations: 11.94 MB / 1.153 GB, free: 302.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/3.015, allocations: 1.274 MB / 1.154 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006412/3.015, allocations: 183 kB / 1.154 GB, free: 301.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/3.016, allocations: 0.6438 MB / 1.155 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/3.016, allocations: 0.9375 kB / 1.155 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.508/8.524, allocations: 77.82 MB / 1.231 GB, free: 224.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/8.524, allocations: 289.7 kB / 1.231 GB, free: 223.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.927/13.45, allocations: 0 / 1.231 GB, free: 223.8 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe 2>&1)