Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.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.Examples.SimpleExamples.TestSteamDryer1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer1",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.797/0.797, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.854e-05, allocations: 4 kB / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 31.98 MB / 236.8 MB, free: 5.188 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.Examples.SimpleExamples.TestSteamDryer1): time 1.497/1.634, allocations: 295.7 MB / 0.5201 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0432/1.677, allocations: 38.97 MB / 0.5581 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/1.677, allocations: 8 kB / 0.5581 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/1.678, allocations: 139.2 kB / 0.5583 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/1.678, allocations: 170.7 kB / 0.5584 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01928/1.697, allocations: 7.65 MB / 0.5659 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007293/1.698, allocations: 0.6414 MB / 0.5665 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/1.698, allocations: 238.6 kB / 0.5667 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/1.699, allocations: 230.8 kB / 0.567 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/1.699, allocations: 202.8 kB / 0.5672 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/1.699, allocations: 20 kB / 0.5672 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0284/1.727, allocations: 18.69 MB / 0.5854 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.95e-05/1.728, allocations: 67.59 kB / 0.5855 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/1.728, allocations: 284.2 kB / 0.5858 GB, free: 8.812 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/1.745, allocations: 8.982 MB / 0.5945 GB, free: 15.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.745, allocations: 0 / 0.5945 GB, free: 15.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/1.745, allocations: 0 / 0.5945 GB, free: 15.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/1.745, allocations: 0 / 0.5945 GB, free: 15.8 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004093/1.749, allocations: 1.653 MB / 0.5962 GB, free: 14.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.749, allocations: 12.03 kB / 0.5962 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/1.749, allocations: 102.5 kB / 0.5963 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/1.749, allocations: 63.19 kB / 0.5963 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/1.749, allocations: 310 kB / 0.5966 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/1.749, allocations: 37 kB / 0.5967 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/1.749, allocations: 43.94 kB / 0.5967 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/1.75, allocations: 0.6252 MB / 0.5973 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.75, allocations: 0 / 0.5973 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/1.75, allocations: 28 kB / 0.5973 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/1.75, allocations: 31.84 kB / 0.5974 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/1.751, allocations: 380 kB / 0.5977 GB, free: 12.39 MB / 494.1 MB 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.02073/1.772, allocations: 12 MB / 0.6094 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/1.772, allocations: 311.3 kB / 0.6097 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/1.773, allocations: 214.1 kB / 0.6099 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1593/1.932, allocations: 81.17 MB / 0.6892 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.932, allocations: 34.56 kB / 0.6892 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.386e-06/1.932, allocations: 0 / 0.6892 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.00303/1.935, allocations: 1.322 MB / 0.6905 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.935, allocations: 81.11 kB / 0.6906 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/1.935, allocations: 291.2 kB / 0.6909 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/1.935, allocations: 29.7 kB / 0.6909 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/1.936, allocations: 216.8 kB / 0.6911 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/1.936, allocations: 264 kB / 0.6914 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/1.936, allocations: 61.67 kB / 0.6914 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.936, allocations: 358.7 kB / 0.6918 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/1.936, allocations: 156.8 kB / 0.6919 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/1.936, allocations: 261.9 kB / 0.6922 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/1.937, allocations: 477.2 kB / 0.6926 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.937, allocations: 0 / 0.6926 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001136/1.938, allocations: 0.738 MB / 0.6934 GB, free: 68 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/1.938, allocations: 4 kB / 0.6934 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.938, allocations: 4 kB / 0.6934 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1502/2.088, allocations: 0.8537 MB / 0.6942 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/2.088, allocations: 13.44 kB / 0.6942 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/2.09, allocations: 2.124 MB / 0.6963 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/2.09, allocations: 62.67 kB / 0.6963 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/2.09, allocations: 17.5 kB / 0.6964 GB, free: 225.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (sink.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP.C.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,sourceQ.C.b,steamDryer.Csl.b,steamDryer.Csv.b,steamDryer.Cev.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001727/2.09, allocations: 172 kB / 0.6965 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/2.09, allocations: 47.97 kB / 0.6966 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/2.092, allocations: 1.521 MB / 0.6981 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009979/2.093, allocations: 0.8574 MB / 0.6989 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.093, allocations: 4.906 kB / 0.6989 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/2.093, allocations: 0 / 0.6989 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/2.095, allocations: 2.014 MB / 0.7009 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/2.095, allocations: 1.531 kB / 0.7009 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/2.095, allocations: 66.98 kB / 0.7009 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/2.097, allocations: 0.8267 MB / 0.7017 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/2.097, allocations: 14.59 kB / 0.7018 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/2.098, allocations: 2.196 MB / 0.7039 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/2.098, allocations: 6.891 kB / 0.7039 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/2.099, allocations: 1.012 MB / 0.7049 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/2.099, allocations: 188.1 kB / 0.7051 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/2.099, allocations: 13.66 kB / 0.7051 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/2.099, allocations: 27.28 kB / 0.7051 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/2.099, allocations: 35.08 kB / 0.7051 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/2.099, allocations: 15.91 kB / 0.7052 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000179/2.1, allocations: 241.8 kB / 0.7054 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.1, allocations: 0 / 0.7054 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002524/2.102, allocations: 1.285 MB / 0.7066 GB, free: 222.1 MB / 0.5762 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 (44): * Single equations (assignments): 41 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00509/2.107, allocations: 3.28 MB / 0.7098 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001133/2.108, allocations: 0.7881 MB / 0.7106 GB, free: 221 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/2.108, allocations: 0.8125 kB / 0.7106 GB, free: 221 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007008/2.109, allocations: 454.6 kB / 0.7111 GB, free: 221 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/2.11, allocations: 251.2 kB / 0.7113 GB, free: 221 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005269/2.116, allocations: 5.317 MB / 0.7165 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/2.116, allocations: 0.9264 MB / 0.7174 GB, free: 218 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001716/2.116, allocations: 46.75 kB / 0.7174 GB, free: 218 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/2.116, allocations: 232.5 kB / 0.7177 GB, free: 218 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/2.116, allocations: 0.6875 kB / 0.7177 GB, free: 218 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/2.182, allocations: 56.38 MB / 0.7727 GB, free: 175.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000122/2.183, allocations: 236.9 kB / 0.7729 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.138/6.321, allocations: 0 / 0.7729 GB, free: 175.2 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamDryer1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe 2>&1)