Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") translateModel(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007211/0.007211, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6183/0.6183, allocations: 95.48 MB / 365.4 MB, free: 9.688 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 74.59 kB / 0.5037 GB, free: 13.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1644, allocations: 69.09 MB / 0.5711 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir): time 0.6816/0.8461, allocations: 184.7 MB / 0.7516 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006438/0.8525, allocations: 4.342 MB / 0.7558 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006448/0.8532, allocations: 8 kB / 0.7558 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.8545, allocations: 254.5 kB / 0.756 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.8559, allocations: 437.6 kB / 0.7565 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00724/0.8631, allocations: 2.13 MB / 0.7585 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.8651, allocations: 1.192 MB / 0.7597 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.8654, allocations: 154.7 kB / 0.7599 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.8685, allocations: 1.089 MB / 0.7609 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.8697, allocations: 430.6 kB / 0.7613 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.87, allocations: 64 kB / 0.7614 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005852/0.8758, allocations: 2.214 MB / 0.7636 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.8763, allocations: 239.5 kB / 0.7638 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006413/0.8769, allocations: 326.8 kB / 0.7641 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005535/0.8825, allocations: 2.081 MB / 0.7661 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.8825, allocations: 0 / 0.7661 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8825, allocations: 0 / 0.7661 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.749e-05/0.8825, allocations: 0 / 0.7661 GB, free: 6.742 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003044/0.8856, allocations: 1.021 MB / 0.7671 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.8857, allocations: 11.98 kB / 0.7671 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.8861, allocations: 63.44 kB / 0.7672 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.8868, allocations: 362.7 kB / 0.7675 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.8868, allocations: 36.94 kB / 0.7676 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.8869, allocations: 43.94 kB / 0.7676 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.888, allocations: 0.4984 MB / 0.7681 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.888, allocations: 0 / 0.7681 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.8881, allocations: 16 kB / 0.7681 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.8881, allocations: 16 kB / 0.7681 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.8891, allocations: 0.5738 MB / 0.7687 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.8928, allocations: 2.128 MB / 0.7708 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.8939, allocations: 0.5409 MB / 0.7713 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.8943, allocations: 258 kB / 0.7715 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/0.8949, allocations: 0.7004 MB / 0.7722 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.895, allocations: 39 kB / 0.7723 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.265e-06/0.895, allocations: 4 kB / 0.7723 GB, free: 15.96 MB / 0.5919 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.008393/0.9034, allocations: 2.734 MB / 0.7749 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.9035, allocations: 63.95 kB / 0.775 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.9039, allocations: 318.8 kB / 0.7753 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.904, allocations: 37.7 kB / 0.7753 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.9042, allocations: 200.4 kB / 0.7755 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.9043, allocations: 189.3 kB / 0.7757 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.9045, allocations: 110.1 kB / 0.7758 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9047, allocations: 346.8 kB / 0.7761 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.905, allocations: 197 kB / 0.7763 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.9054, allocations: 276.8 kB / 0.7766 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/0.9062, allocations: 0.4955 MB / 0.7771 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.9062, allocations: 0 / 0.7771 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001071/0.9073, allocations: 0.6143 MB / 0.7777 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.9073, allocations: 4.094 kB / 0.7777 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.9073, allocations: 9.578 kB / 0.7777 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.9075, allocations: 53.39 kB / 0.7777 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.9081, allocations: 123.9 kB / 0.7779 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.9105, allocations: 2.831 MB / 0.7806 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.9109, allocations: 16.02 kB / 0.7806 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.911, allocations: 20 kB / 0.7807 GB, free: 6.852 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002976/0.9113, allocations: 193.7 kB / 0.7809 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.9114, allocations: 39.53 kB / 0.7809 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.9127, allocations: 0.6336 MB / 0.7815 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.9127, allocations: 11.94 kB / 0.7815 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.9127, allocations: 4 kB / 0.7815 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009243/0.9136, allocations: 0.711 MB / 0.7822 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.9156, allocations: 1.214 MB / 0.7834 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.9156, allocations: 0 / 0.7834 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.9167, allocations: 191.8 kB / 0.7836 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.9167, allocations: 4.062 kB / 0.7836 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.9168, allocations: 20.73 kB / 0.7836 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000372/0.9172, allocations: 0.5938 MB / 0.7842 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9172, allocations: 0 / 0.7842 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.9185, allocations: 0.877 MB / 0.785 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.9188, allocations: 180.5 kB / 0.7852 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.9189, allocations: 13.12 kB / 0.7852 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.9193, allocations: 23.98 kB / 0.7853 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.9194, allocations: 40.44 kB / 0.7853 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-05/0.9195, allocations: 23.98 kB / 0.7853 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002745/0.9198, allocations: 247 kB / 0.7855 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9198, allocations: 0 / 0.7855 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001064/0.9208, allocations: 319.8 kB / 0.7859 GB, free: 1.316 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.U) * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009589/0.9218, allocations: 399.2 kB / 0.7862 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.923, allocations: 0.7231 MB / 0.7869 GB, free: 172 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.923, allocations: 0 / 0.7869 GB, free: 172 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.9242, allocations: 355 kB / 0.7873 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.9256, allocations: 302 kB / 0.7876 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.9279, allocations: 1.119 MB / 0.7887 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.9284, allocations: 0.8412 MB / 0.7895 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005629/0.929, allocations: 135.9 kB / 0.7896 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.9292, allocations: 55.42 kB / 0.7897 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of SimCode: time 1.243e-06/0.9292, allocations: 0 / 0.7897 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of Templates: time 0.02793/0.9571, allocations: 15.27 MB / 0.8046 GB, free: 14.14 MB / 0.6231 GB make -j1 -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.makefile (rm -f Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.sim & ./Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.GasesPTDecoupled.Examples.TestMoistAir.pipe 2>&1)