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: translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7548/0.7548, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.608e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 31.97 MB / 236.8 MB, free: 5.438 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.446/1.579, allocations: 294.7 MB / 0.519 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04186/1.621, allocations: 38.98 MB / 0.5571 GB, free: 5.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003273/1.622, allocations: 4 kB / 0.5571 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004249/1.622, allocations: 143.1 kB / 0.5572 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/1.623, allocations: 166.7 kB / 0.5574 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01963/1.642, allocations: 7.649 MB / 0.5649 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007592/1.643, allocations: 0.6491 MB / 0.5655 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003392/1.643, allocations: 245.5 kB / 0.5657 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/1.644, allocations: 226.8 kB / 0.5659 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/1.644, allocations: 210.8 kB / 0.5661 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/1.644, allocations: 16 kB / 0.5662 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02761/1.672, allocations: 18.69 MB / 0.5844 GB, free: 9.484 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.937e-05/1.672, allocations: 75.58 kB / 0.5845 GB, free: 9.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/1.672, allocations: 280.2 kB / 0.5847 GB, free: 9.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/1.688, allocations: 8.978 MB / 0.5935 GB, free: 132 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/1.688, allocations: 0 / 0.5935 GB, free: 132 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/1.688, allocations: 0 / 0.5935 GB, free: 132 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/1.688, allocations: 0 / 0.5935 GB, free: 132 kB / 478.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.00389/1.692, allocations: 1.653 MB / 0.5951 GB, free: 14.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/1.692, allocations: 8.031 kB / 0.5951 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/1.692, allocations: 67.19 kB / 0.5952 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/1.692, allocations: 302 kB / 0.5955 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/1.692, allocations: 40.94 kB / 0.5955 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/1.693, allocations: 44 kB / 0.5956 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008426/1.693, allocations: 0.6369 MB / 0.5962 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.693, allocations: 4 kB / 0.5962 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/1.693, allocations: 16 kB / 0.5962 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/1.693, allocations: 27.98 kB / 0.5962 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/1.694, allocations: 379.9 kB / 0.5966 GB, free: 12.83 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.02014/1.714, allocations: 12.01 MB / 0.6083 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/1.715, allocations: 311.3 kB / 0.6086 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/1.715, allocations: 214.1 kB / 0.6088 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1514/1.867, allocations: 81.16 MB / 0.6881 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/1.867, allocations: 42.56 kB / 0.6881 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.854e-06/1.867, allocations: 0 / 0.6881 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002886/1.87, allocations: 1.314 MB / 0.6894 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.87, allocations: 88.98 kB / 0.6895 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/1.87, allocations: 291.2 kB / 0.6898 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/1.87, allocations: 25.7 kB / 0.6898 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/1.87, allocations: 224.9 kB / 0.69 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/1.87, allocations: 256 kB / 0.6903 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.225e-05/1.87, allocations: 65.67 kB / 0.6903 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.87, allocations: 362.7 kB / 0.6907 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/1.871, allocations: 148.8 kB / 0.6908 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/1.871, allocations: 261.9 kB / 0.6911 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/1.871, allocations: 477.2 kB / 0.6915 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.871, allocations: 4 kB / 0.6915 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001093/1.873, allocations: 0.7333 MB / 0.6922 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.873, allocations: 9.406 kB / 0.6922 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.873, allocations: 4 kB / 0.6922 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1506/2.023, allocations: 0.8546 MB / 0.6931 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/2.023, allocations: 8.859 kB / 0.6931 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/2.025, allocations: 2.13 MB / 0.6952 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/2.025, allocations: 61.27 kB / 0.6952 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/2.025, allocations: 14.69 kB / 0.6952 GB, free: 225.8 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.0001682/2.025, allocations: 173.9 kB / 0.6954 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/2.025, allocations: 43.17 kB / 0.6954 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/2.027, allocations: 1.525 MB / 0.6969 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009791/2.028, allocations: 0.859 MB / 0.6978 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/2.028, allocations: 3.859 kB / 0.6978 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/2.028, allocations: 4.547 kB / 0.6978 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/2.03, allocations: 2.012 MB / 0.6997 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/2.03, allocations: 1.938 kB / 0.6997 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/2.03, allocations: 62.55 kB / 0.6998 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/2.031, allocations: 0.8302 MB / 0.7006 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/2.031, allocations: 11.28 kB / 0.7006 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/2.033, allocations: 2.195 MB / 0.7028 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/2.033, allocations: 6.906 kB / 0.7028 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/2.034, allocations: 1.011 MB / 0.7038 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/2.034, allocations: 192.9 kB / 0.704 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/2.034, allocations: 10.62 kB / 0.704 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/2.034, allocations: 27.09 kB / 0.704 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/2.034, allocations: 33.2 kB / 0.704 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/2.034, allocations: 15.19 kB / 0.704 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001726/2.034, allocations: 244.1 kB / 0.7043 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.034, allocations: 0 / 0.7043 GB, free: 222.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002439/2.037, allocations: 1.284 MB / 0.7055 GB, free: 222.8 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.003874/2.041, allocations: 1.817 MB / 0.7073 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001114/2.042, allocations: 0.7987 MB / 0.7081 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/2.042, allocations: 0 / 0.7081 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006743/2.042, allocations: 444.3 kB / 0.7085 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/2.044, allocations: 251.4 kB / 0.7087 GB, free: 222.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/2.045, allocations: 1.472 MB / 0.7102 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/2.045, allocations: 0.9336 MB / 0.7111 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001548/2.046, allocations: 48.53 kB / 0.7111 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/2.046, allocations: 35.31 kB / 0.7112 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/2.046, allocations: 0 / 0.7112 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.04708/2.093, allocations: 48.61 MB / 0.7586 GB, free: 188.2 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.makefile Environment - environmentSimulation: (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 & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamDryer1.pipe 2>&1) Environment - environmentSimulation: