Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.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.TestSteamDryer2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamDryer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamDryer2",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.7269/0.7269, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.584e-05, allocations: 3.984 kB / 204.9 MB, free: 9.957 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 31.98 MB / 236.8 MB, free: 5.395 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.TestSteamDryer2): time 1.434/1.562, allocations: 296.5 MB / 0.5209 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4378/2, allocations: 190.4 MB / 0.7068 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/2.001, allocations: 14.34 kB / 0.7068 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005136/2.001, allocations: 152.9 kB / 0.7069 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007884/2.002, allocations: 257.2 kB / 0.7072 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02298/2.025, allocations: 9.659 MB / 0.7166 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001014/2.026, allocations: 0.9963 MB / 0.7176 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005316/2.027, allocations: 495.7 kB / 0.7181 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/2.027, allocations: 350.8 kB / 0.7184 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/2.028, allocations: 388.5 kB / 0.7188 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/2.028, allocations: 45.38 kB / 0.7188 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02544/2.053, allocations: 18.12 MB / 0.7365 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/2.053, allocations: 147.9 kB / 0.7366 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000503/2.054, allocations: 465.5 kB / 0.7371 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01712/2.071, allocations: 9.832 MB / 0.7467 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/2.071, allocations: 1.875 kB / 0.7467 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/2.071, allocations: 64 / 0.7467 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 1.25e-05/2.071, allocations: 0 / 0.7467 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004632/2.076, allocations: 2.033 MB / 0.7487 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/2.076, allocations: 13.33 kB / 0.7487 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/2.076, allocations: 153.7 kB / 0.7488 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/2.076, allocations: 113.2 kB / 0.7489 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/2.077, allocations: 469.8 kB / 0.7494 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/2.077, allocations: 75.12 kB / 0.7495 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/2.077, allocations: 92.8 kB / 0.7495 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/2.078, allocations: 1.048 MB / 0.7506 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/2.078, allocations: 6.062 kB / 0.7506 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/2.078, allocations: 41.72 kB / 0.7506 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/2.078, allocations: 24.31 kB / 0.7506 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/2.079, allocations: 0.6944 MB / 0.7513 GB, free: 13.72 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.07401/2.153, allocations: 37.7 MB / 0.7881 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/2.154, allocations: 0.8534 MB / 0.789 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/2.155, allocations: 209.7 kB / 0.7892 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8627/3.017, allocations: 338.9 MB / 1.12 GB, free: 114.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/3.017, allocations: 40 kB / 1.12 GB, free: 114.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 2.595e-06/3.017, allocations: 0 / 1.12 GB, free: 114.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.002782/3.02, allocations: 1.29 MB / 1.121 GB, free: 113.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/3.02, allocations: 79.73 kB / 1.122 GB, free: 113.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/3.021, allocations: 0.4911 MB / 1.122 GB, free: 112.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/3.021, allocations: 32.39 kB / 1.122 GB, free: 112.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/3.021, allocations: 463.2 kB / 1.122 GB, free: 112.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/3.021, allocations: 192.7 kB / 1.123 GB, free: 112.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.973e-05/3.021, allocations: 75.8 kB / 1.123 GB, free: 112.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.423e-05/3.021, allocations: 362.5 kB / 1.123 GB, free: 112 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/3.021, allocations: 191.7 kB / 1.123 GB, free: 111.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/3.022, allocations: 473.3 kB / 1.124 GB, free: 111.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/3.022, allocations: 0.6944 MB / 1.124 GB, free: 110.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/3.022, allocations: 4 kB / 1.124 GB, free: 110.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001547/3.024, allocations: 0.9702 MB / 1.125 GB, free: 110.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/3.024, allocations: 8 kB / 1.125 GB, free: 110.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/3.024, allocations: 15.98 kB / 1.125 GB, free: 110.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/3.025, allocations: 0.6003 MB / 1.126 GB, free: 109.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/3.025, allocations: 91.23 kB / 1.126 GB, free: 109.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/3.026, allocations: 1.993 MB / 1.128 GB, free: 107.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/3.027, allocations: 106.3 kB / 1.128 GB, free: 107.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/3.027, allocations: 31.56 kB / 1.128 GB, free: 107.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 19 (steamDryer.Csl.ftype,steamDryer.Csv.ftype,sourceQ.C.ftype,steamDryer.fluids[1],singularPressureLoss2.fluid,sinkP.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,sink.fluid,sourceQ.fluid1,steamDryer.Csl.diff_on_2,steamDryer.Csl.diff_on_1,singularPressureLoss3.C2.diff_on_1,steamDryer.Csv.diff_on_2,steamDryer.Csv.diff_on_1,singularPressureLoss1.C2.diff_on_1,steamDryer.Cev.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss2.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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 {(1,3), (1,3), (2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002472/3.027, allocations: 236.1 kB / 1.128 GB, free: 107.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/3.027, allocations: 59.34 kB / 1.128 GB, free: 107.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/3.028, allocations: 0.8383 MB / 1.129 GB, free: 106.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009499/3.029, allocations: 0.6626 MB / 1.13 GB, free: 106.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/3.029, allocations: 3.984 kB / 1.13 GB, free: 106.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/3.029, allocations: 0 / 1.13 GB, free: 106.3 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.002018/3.032, allocations: 1.806 MB / 1.132 GB, free: 104.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/3.032, allocations: 0 / 1.132 GB, free: 104.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/3.032, allocations: 39.17 kB / 1.132 GB, free: 104.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000905/3.033, allocations: 0.603 MB / 1.132 GB, free: 104.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/3.033, allocations: 7.812 kB / 1.132 GB, free: 104.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009201/3.034, allocations: 1.994 MB / 1.134 GB, free: 102.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/3.034, allocations: 3.938 kB / 1.134 GB, free: 102.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/3.035, allocations: 0.8136 MB / 1.135 GB, free: 101.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/3.035, allocations: 177.8 kB / 1.135 GB, free: 101.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/3.035, allocations: 7.625 kB / 1.135 GB, free: 101.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/3.035, allocations: 47.33 kB / 1.135 GB, free: 101.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/3.035, allocations: 19.97 kB / 1.135 GB, free: 101.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/3.035, allocations: 15.67 kB / 1.135 GB, free: 101.6 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002796/3.035, allocations: 316.9 kB / 1.136 GB, free: 101.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/3.035, allocations: 4 kB / 1.136 GB, free: 101.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003097/3.039, allocations: 1.46 MB / 1.137 GB, free: 100.1 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 (24): * Single equations (assignments): 21 * 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 {(1,3), (1,3), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006567/3.045, allocations: 3.308 MB / 1.14 GB, free: 97.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009117/3.046, allocations: 0.6581 MB / 1.141 GB, free: 96.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/3.046, allocations: 0 / 1.141 GB, free: 96.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/3.047, allocations: 314.2 kB / 1.141 GB, free: 96.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/3.047, allocations: 198.3 kB / 1.141 GB, free: 96.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007485/3.055, allocations: 6.527 MB / 1.148 GB, free: 90.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/3.055, allocations: 0.9542 MB / 1.149 GB, free: 89.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002873/3.055, allocations: 92.69 kB / 1.149 GB, free: 89.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/3.056, allocations: 299.8 kB / 1.149 GB, free: 89.68 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/3.056, allocations: 2.844 kB / 1.149 GB, free: 89.68 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.253/7.309, allocations: 57 MB / 1.205 GB, free: 33.12 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/7.309, allocations: 288.7 kB / 1.205 GB, free: 32.73 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.009/11.32, allocations: 0 / 1.205 GB, free: 32.73 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamDryer2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamDryer2.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer2.pipe 2>&1)