Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.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.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8775/0.8775, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.191e-05, allocations: 7.938 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 31.97 MB / 236.8 MB, free: 5.434 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.TestStaticExchangerDTorWorEff): time 1.93/2.132, allocations: 294.8 MB / 0.5191 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2281/2.36, allocations: 187.4 MB / 0.7021 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006129/2.361, allocations: 15.88 kB / 0.7021 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/2.361, allocations: 51.55 kB / 0.7022 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008976/2.362, allocations: 206.4 kB / 0.7024 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.405/2.767, allocations: 9.111 MB / 0.7113 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009721/2.768, allocations: 0.7627 MB / 0.712 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/2.768, allocations: 349.7 kB / 0.7124 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/2.768, allocations: 253.1 kB / 0.7126 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/2.769, allocations: 294.9 kB / 0.7129 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/2.769, allocations: 29.97 kB / 0.7129 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03927/2.808, allocations: 20.36 MB / 0.7328 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/2.808, allocations: 119.8 kB / 0.7329 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006275/2.809, allocations: 343.8 kB / 0.7332 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02872/2.838, allocations: 10.37 MB / 0.7434 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/2.838, allocations: 3 kB / 0.7434 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 3.346e-06/2.838, allocations: 64 / 0.7434 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 4.771e-05/2.838, allocations: 0 / 0.7434 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006152/2.844, allocations: 1.986 MB / 0.7453 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/2.844, allocations: 7.844 kB / 0.7453 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/2.844, allocations: 83.28 kB / 0.7454 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/2.845, allocations: 431.6 kB / 0.7458 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/2.845, allocations: 55.84 kB / 0.7459 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/2.846, allocations: 66.28 kB / 0.7459 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/2.847, allocations: 0.7007 MB / 0.7466 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/2.847, allocations: 5.922 kB / 0.7466 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/2.847, allocations: 28.06 kB / 0.7466 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/2.847, allocations: 20.2 kB / 0.7467 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009954/2.848, allocations: 0.5118 MB / 0.7472 GB, free: 14.02 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.00344/2.852, allocations: 3.146 MB / 0.7502 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/2.852, allocations: 234.3 kB / 0.7505 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/2.852, allocations: 105.5 kB / 0.7506 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3917/3.244, allocations: 184.2 MB / 0.9304 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/3.244, allocations: 34.56 kB / 0.9305 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/3.244, allocations: 0 / 0.9305 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.002548/3.247, allocations: 0.7529 MB / 0.9312 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/3.247, allocations: 56.95 kB / 0.9313 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000608/3.247, allocations: 0.4899 MB / 0.9317 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/3.247, allocations: 33.39 kB / 0.9318 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/3.248, allocations: 361.8 kB / 0.9321 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/3.248, allocations: 96.67 kB / 0.9322 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/3.248, allocations: 45.62 kB / 0.9322 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001741/3.248, allocations: 363.3 kB / 0.9326 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/3.248, allocations: 100.8 kB / 0.9327 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/3.248, allocations: 265 kB / 0.9329 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/3.249, allocations: 402.6 kB / 0.9333 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/3.249, allocations: 0 / 0.9333 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008474/3.25, allocations: 0.4969 MB / 0.9338 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/3.25, allocations: 12.03 kB / 0.9338 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/3.25, allocations: 9.844 kB / 0.9338 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/3.252, allocations: 379.4 kB / 0.9342 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/3.252, allocations: 64.05 kB / 0.9343 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000818/3.253, allocations: 0.7761 MB / 0.935 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/3.253, allocations: 68.73 kB / 0.9351 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/3.253, allocations: 24.12 kB / 0.9351 GB, free: 8.176 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceWaterSteam_FF.C.ftype,sourceWaterSteam_FC.C.ftype,sinkWaterSteam_FF.fluid,sinkWaterSteam_FC.fluid,exchangerWaterSteamDTorWorEFF.fluid_c,exchangerWaterSteamDTorWorEFF.fluid_f,sourceWaterSteam_FC.fluid1,sourceWaterSteam_FF.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002551/3.253, allocations: 183.9 kB / 0.9353 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/3.253, allocations: 56.78 kB / 0.9353 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/3.255, allocations: 0.4917 MB / 0.9358 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/3.255, allocations: 4 kB / 0.9358 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/3.255, allocations: 3.938 kB / 0.9358 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/3.255, allocations: 3.984 kB / 0.9358 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/3.257, allocations: 1.062 MB / 0.9369 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/3.257, allocations: 4 kB / 0.9369 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/3.257, allocations: 8 kB / 0.9369 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/3.258, allocations: 323.1 kB / 0.9372 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/3.258, allocations: 8.125 kB / 0.9372 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006924/3.259, allocations: 0.7612 MB / 0.9379 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/3.259, allocations: 0 / 0.9379 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/3.26, allocations: 498.5 kB / 0.9384 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/3.26, allocations: 156.8 kB / 0.9386 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/3.26, allocations: 7.312 kB / 0.9386 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/3.26, allocations: 3.875 kB / 0.9386 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/3.26, allocations: 25.73 kB / 0.9386 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/3.26, allocations: 9.984 kB / 0.9386 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004143/3.261, allocations: 365.5 kB / 0.9389 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.31e-07/3.261, allocations: 0 / 0.9389 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004847/3.266, allocations: 1.541 MB / 0.9405 GB, free: 3.363 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007966/3.274, allocations: 2.329 MB / 0.9427 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007798/3.274, allocations: 289.8 kB / 0.943 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/3.274, allocations: 4.062 kB / 0.943 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/3.275, allocations: 108.1 kB / 0.9431 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008814/3.276, allocations: 142.4 kB / 0.9432 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/3.277, allocations: 1.118 MB / 0.9443 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/3.278, allocations: 0.8659 MB / 0.9452 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000271/3.278, allocations: 80.45 kB / 0.9453 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/3.278, allocations: 44.88 kB / 0.9453 GB, free: 14.87 MB / 0.795 GB Notification: Performance of SimCode: time 7.51e-07/3.278, allocations: 1.969 kB / 0.9453 GB, free: 14.87 MB / 0.795 GB Notification: Performance of Templates: time 0.2785/3.557, allocations: 49.35 MB / 0.9935 GB, free: 458 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe 2>&1) Environment - environmentSimulation: