Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSteamDryer1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamDryer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_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.7779/0.7779, allocations: 150.8 MB / 166.1 MB, free: 15.18 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.492e-05, allocations: 4 kB / 204.9 MB, free: 9.586 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 31.99 MB / 236.8 MB, free: 5.488 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.TestSteamDryer1): time 1.488/1.62, allocations: 296.6 MB / 0.5209 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4365/2.056, allocations: 190.4 MB / 0.7068 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/2.057, allocations: 12.03 kB / 0.7068 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/2.058, allocations: 149.5 kB / 0.707 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008498/2.058, allocations: 270 kB / 0.7072 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02273/2.081, allocations: 9.651 MB / 0.7167 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009035/2.082, allocations: 1.004 MB / 0.7177 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004408/2.083, allocations: 498.9 kB / 0.7181 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/2.083, allocations: 353.2 kB / 0.7185 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/2.083, allocations: 388.4 kB / 0.7188 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.044e-05/2.083, allocations: 43.5 kB / 0.7189 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02918/2.113, allocations: 21.43 MB / 0.7398 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/2.113, allocations: 156.4 kB / 0.74 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005941/2.113, allocations: 466.2 kB / 0.7404 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/2.131, allocations: 11.03 MB / 0.7512 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/2.131, allocations: 6.594 kB / 0.7512 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/2.131, allocations: 0 / 0.7512 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.332e-05/2.131, allocations: 0 / 0.7512 GB, free: 14.39 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.00494/2.136, allocations: 2.217 MB / 0.7533 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/2.136, allocations: 11.56 kB / 0.7534 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/2.137, allocations: 151.8 kB / 0.7535 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/2.137, allocations: 119.8 kB / 0.7536 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/2.137, allocations: 475.2 kB / 0.7541 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/2.137, allocations: 75.78 kB / 0.7541 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.26e-05/2.137, allocations: 90.59 kB / 0.7542 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/2.139, allocations: 1.043 MB / 0.7552 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/2.139, allocations: 6.406 kB / 0.7552 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/2.139, allocations: 45.09 kB / 0.7553 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/2.139, allocations: 26.03 kB / 0.7553 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/2.14, allocations: 0.692 MB / 0.756 GB, free: 12.01 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.004594/2.145, allocations: 6.601 MB / 0.7624 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/2.146, allocations: 0.8517 MB / 0.7633 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/2.146, allocations: 211.4 kB / 0.7635 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8082/2.954, allocations: 374.5 MB / 1.129 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/2.954, allocations: 37.47 kB / 1.129 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/2.954, allocations: 0 / 1.129 GB, free: 312.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.003181/2.957, allocations: 1.468 MB / 1.131 GB, free: 311.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/2.957, allocations: 81.11 kB / 1.131 GB, free: 311.4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/2.958, allocations: 499 kB / 1.131 GB, free: 311 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/2.958, allocations: 29.39 kB / 1.131 GB, free: 311 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/2.958, allocations: 463.3 kB / 1.132 GB, free: 310.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/2.958, allocations: 188 kB / 1.132 GB, free: 310.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/2.958, allocations: 79.92 kB / 1.132 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.908e-05/2.958, allocations: 365 kB / 1.132 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/2.959, allocations: 187.4 kB / 1.132 GB, free: 310 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/2.959, allocations: 474.7 kB / 1.133 GB, free: 309.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/2.959, allocations: 0.6905 MB / 1.134 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/2.959, allocations: 0 / 1.134 GB, free: 308.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001531/2.961, allocations: 1.024 MB / 1.135 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/2.961, allocations: 12 kB / 1.135 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/2.961, allocations: 11.05 kB / 1.135 GB, free: 308.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/2.963, allocations: 0.8206 MB / 1.135 GB, free: 307.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/2.963, allocations: 83.66 kB / 1.136 GB, free: 307.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/2.964, allocations: 2.064 MB / 1.138 GB, free: 305.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/2.965, allocations: 118.6 kB / 1.138 GB, free: 305.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/2.965, allocations: 31.94 kB / 1.138 GB, free: 305.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (53): * Single equations (assignments): 50 * 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), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002203/2.965, allocations: 232.2 kB / 1.138 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/2.965, allocations: 55.91 kB / 1.138 GB, free: 305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/2.966, allocations: 0.8589 MB / 1.139 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008708/2.967, allocations: 0.6642 MB / 1.139 GB, free: 304 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/2.967, allocations: 3.984 kB / 1.139 GB, free: 304 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/2.967, allocations: 7.938 kB / 1.139 GB, free: 304 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.002203/2.969, allocations: 1.778 MB / 1.141 GB, free: 302.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.969, allocations: 2.531 kB / 1.141 GB, free: 302.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.486e-05/2.969, allocations: 35.92 kB / 1.141 GB, free: 302.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/2.971, allocations: 0.72 MB / 1.142 GB, free: 301.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/2.971, allocations: 7.812 kB / 1.142 GB, free: 301.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000932/2.972, allocations: 2.024 MB / 1.144 GB, free: 300 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.972, allocations: 12.06 kB / 1.144 GB, free: 300 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/2.973, allocations: 0.893 MB / 1.145 GB, free: 299.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/2.973, allocations: 179.8 kB / 1.145 GB, free: 299.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/2.973, allocations: 11.88 kB / 1.145 GB, free: 299.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/2.973, allocations: 51.88 kB / 1.145 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/2.974, allocations: 27.84 kB / 1.145 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/2.974, allocations: 11.94 kB / 1.145 GB, free: 299.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000253/2.974, allocations: 317.4 kB / 1.145 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/2.974, allocations: 4.656 kB / 1.145 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002791/2.977, allocations: 1.653 MB / 1.147 GB, free: 297.5 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 (22): * Single equations (assignments): 19 * 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), (3,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005674/2.982, allocations: 3.655 MB / 1.151 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008768/2.983, allocations: 0.6507 MB / 1.151 GB, free: 294 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.983, allocations: 0 / 1.151 GB, free: 294 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000439/2.984, allocations: 330.9 kB / 1.152 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00085/2.984, allocations: 188.2 kB / 1.152 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/2.991, allocations: 6.831 MB / 1.158 GB, free: 286.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/2.992, allocations: 0.9621 MB / 1.159 GB, free: 285.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002444/2.992, allocations: 89.67 kB / 1.159 GB, free: 285.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/2.992, allocations: 291.3 kB / 1.16 GB, free: 285.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/2.992, allocations: 0 / 1.16 GB, free: 285.3 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.507/7.499, allocations: 61.79 MB / 1.22 GB, free: 224.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/7.499, allocations: 291.8 kB / 1.22 GB, free: 224.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.238/11.74, allocations: 2.844 kB / 1.22 GB, free: 224.1 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamDryer1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestSteamDryer1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSteamDryer1.pipe 2>&1)