Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.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.Book.SimpleExamples.Volume.TestVolumeATh,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestVolumeATh",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestVolumeATh",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.867/0.867, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.613e-05, allocations: 4 kB / 204.9 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1585, allocations: 31.99 MB / 236.8 MB, free: 5.277 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.Book.SimpleExamples.Volume.TestVolumeATh): time 1.6/1.759, allocations: 296.2 MB / 0.5205 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1872/1.946, allocations: 186 MB / 0.7022 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002729/1.947, allocations: 8 kB / 0.7022 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/1.947, allocations: 175 kB / 0.7023 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004543/1.947, allocations: 258.2 kB / 0.7026 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2985/2.246, allocations: 9 MB / 0.7114 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001163/2.247, allocations: 0.8891 MB / 0.7122 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/2.248, allocations: 319.5 kB / 0.7125 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/2.248, allocations: 310.8 kB / 0.7128 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/2.249, allocations: 317.6 kB / 0.7131 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.959e-05/2.249, allocations: 23.56 kB / 0.7132 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02811/2.277, allocations: 17.38 MB / 0.7301 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/2.277, allocations: 119.3 kB / 0.7303 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004991/2.278, allocations: 369.4 kB / 0.7306 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/2.296, allocations: 9.3 MB / 0.7397 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/2.296, allocations: 3.844 kB / 0.7397 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/2.296, allocations: 4.141 kB / 0.7397 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.712e-05/2.297, allocations: 0 / 0.7397 GB, free: 1.898 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.004719/2.301, allocations: 1.908 MB / 0.7416 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/2.301, allocations: 8.562 kB / 0.7416 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/2.301, allocations: 118.5 kB / 0.7417 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/2.302, allocations: 85.75 kB / 0.7418 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/2.302, allocations: 414.9 kB / 0.7422 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/2.302, allocations: 37.94 kB / 0.7422 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/2.302, allocations: 69 kB / 0.7423 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009769/2.303, allocations: 0.7569 MB / 0.743 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/2.303, allocations: 2.906 kB / 0.743 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/2.303, allocations: 27.06 kB / 0.743 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/2.303, allocations: 29.08 kB / 0.7431 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/2.304, allocations: 497.4 kB / 0.7435 GB, free: 15.85 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.003113/2.307, allocations: 4.538 MB / 0.748 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/2.308, allocations: 333.7 kB / 0.7483 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/2.308, allocations: 232.4 kB / 0.7485 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2944/2.602, allocations: 151.8 MB / 0.8967 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/2.603, allocations: 38.78 kB / 0.8967 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=81): time 2.234e-06/2.603, allocations: 0 / 0.8967 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81): time 0.003155/2.606, allocations: 1.163 MB / 0.8979 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/2.606, allocations: 85.09 kB / 0.898 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/2.606, allocations: 0.4995 MB / 0.8985 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/2.606, allocations: 29.39 kB / 0.8985 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/2.607, allocations: 326.3 kB / 0.8988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/2.607, allocations: 265.5 kB / 0.899 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/2.607, allocations: 67.61 kB / 0.8991 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001376/2.607, allocations: 382.7 kB / 0.8995 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/2.607, allocations: 172.1 kB / 0.8996 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/2.608, allocations: 343.5 kB / 0.9 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007915/2.609, allocations: 0.5638 MB / 0.9005 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/2.609, allocations: 4 kB / 0.9005 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001454/2.61, allocations: 0.7991 MB / 0.9013 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/2.61, allocations: 8 kB / 0.9013 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/2.61, allocations: 7.984 kB / 0.9013 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/2.613, allocations: 0.7671 MB / 0.9021 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/2.613, allocations: 37.8 kB / 0.9021 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/2.614, allocations: 1.533 MB / 0.9036 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/2.615, allocations: 86.58 kB / 0.9037 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/2.615, allocations: 22.36 kB / 0.9037 GB, free: 10.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,sourceP2.C.b,sourceQ.C.b,controlValve2.C2.b,controlValve2.C1.a,controlValve1.C2.b,controlValve1.C1.a,sink.C.a,volumeATh.Cs2.b,volumeATh.Cs1.b,volumeATh.Ce2.a,volumeATh.Ce1.a,volumeATh.Cs2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/2.615, allocations: 202.3 kB / 0.9039 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/2.615, allocations: 67.09 kB / 0.904 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/2.617, allocations: 1.215 MB / 0.9051 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001208/2.618, allocations: 0.8846 MB / 0.906 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/2.618, allocations: 0 / 0.906 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/2.618, allocations: 3.984 kB / 0.906 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/2.621, allocations: 2.556 MB / 0.9085 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/2.621, allocations: 4.625 kB / 0.9085 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/2.622, allocations: 140.5 kB / 0.9086 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/2.623, allocations: 0.571 MB / 0.9092 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/2.623, allocations: 25.84 kB / 0.9092 GB, free: 6.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/2.625, allocations: 1.481 MB / 0.9107 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/2.625, allocations: 6.906 kB / 0.9107 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/2.627, allocations: 1.555 MB / 0.9122 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/2.627, allocations: 240.9 kB / 0.9124 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/2.627, allocations: 23 kB / 0.9125 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/2.627, allocations: 38.95 kB / 0.9125 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/2.627, allocations: 74.31 kB / 0.9126 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/2.628, allocations: 31.75 kB / 0.9126 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004439/2.628, allocations: 429.9 kB / 0.913 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/2.628, allocations: 0 / 0.913 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00394/2.632, allocations: 1.494 MB / 0.9145 GB, free: 1.637 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 1 (volumeATh.h) * 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 (72): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009439/2.641, allocations: 4.162 MB / 0.9185 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001887/2.643, allocations: 0.9748 MB / 0.9195 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/2.643, allocations: 4 kB / 0.9195 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009525/2.644, allocations: 481.6 kB / 0.9199 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/2.646, allocations: 320.8 kB / 0.9202 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/2.657, allocations: 7.484 MB / 0.9276 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/2.658, allocations: 1.039 MB / 0.9286 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003334/2.658, allocations: 80.73 kB / 0.9286 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/2.659, allocations: 361 kB / 0.929 GB, free: 4.867 MB / 0.7637 GB Notification: Performance of SimCode: time 7.22e-07/2.659, allocations: 4 kB / 0.929 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3131/2.972, allocations: 63.26 MB / 0.9908 GB, free: 458.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/2.972, allocations: 285.6 kB / 0.991 GB, free: 458 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.684/7.656, allocations: 1.375 kB / 0.991 GB, free: 458 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestVolumeATh_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_Volume_TestVolumeATh.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe 2>&1)