Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.158/1.158, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 251.7 MB / 0.5092 GB, free: 3.191 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.6223 GB, free: 1.555 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3557, allocations: 104.7 MB / 0.7245 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00301/0.3587, allocations: 2.306 MB / 0.7268 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1394/0.4982, allocations: 152 MB / 0.8752 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.4984, allocations: 0 / 0.8752 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.4986, allocations: 51.45 kB / 0.8753 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.4989, allocations: 95.2 kB / 0.8754 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.4996, allocations: 311 kB / 0.8757 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.5, allocations: 427.8 kB / 0.8761 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.5002, allocations: 101.7 kB / 0.8762 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.5012, allocations: 280.9 kB / 0.8764 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.5015, allocations: 183.2 kB / 0.8766 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.5015, allocations: 36 kB / 0.8766 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.502, allocations: 279.5 kB / 0.8769 GB, free: 328 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.665e-05/0.5021, allocations: 79.73 kB / 0.877 GB, free: 248 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.5022, allocations: 163.2 kB / 0.8771 GB, free: 84 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.5028, allocations: 490.6 kB / 0.8776 GB, free: 15.6 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5028, allocations: 0 / 0.8776 GB, free: 15.6 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5028, allocations: 0 / 0.8776 GB, free: 15.6 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.5028, allocations: 0 / 0.8776 GB, free: 15.6 MB / 0.7013 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001347/0.5042, allocations: 0.7016 MB / 0.8783 GB, free: 14.85 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.5042, allocations: 12.03 kB / 0.8783 GB, free: 14.84 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/0.5068, allocations: 259.5 kB / 0.8786 GB, free: 14.59 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.5071, allocations: 299.3 kB / 0.8788 GB, free: 14.25 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.5072, allocations: 24.55 kB / 0.8789 GB, free: 14.23 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.5072, allocations: 24 kB / 0.8789 GB, free: 14.21 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.5085, allocations: 436.5 kB / 0.8793 GB, free: 13.78 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5086, allocations: 4 kB / 0.8793 GB, free: 13.77 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.5086, allocations: 15.94 kB / 0.8793 GB, free: 13.76 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5086, allocations: 7.938 kB / 0.8793 GB, free: 13.75 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.5108, allocations: 0.5252 MB / 0.8798 GB, free: 13.22 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.5135, allocations: 1.132 MB / 0.881 GB, free: 12.04 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.5156, allocations: 454.4 kB / 0.8814 GB, free: 11.59 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.5166, allocations: 232.6 kB / 0.8816 GB, free: 11.36 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.5166, allocations: 8.375 kB / 0.8816 GB, free: 11.35 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.5166, allocations: 34.56 kB / 0.8816 GB, free: 11.3 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.5166, allocations: 4 kB / 0.8817 GB, free: 11.3 MB / 0.7013 GB Notification: Performance of matching and sorting (n=25): time 0.01452/0.5312, allocations: 1.729 MB / 0.8833 GB, free: 9.523 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5312, allocations: 55.41 kB / 0.8834 GB, free: 9.457 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.5315, allocations: 308.4 kB / 0.8837 GB, free: 9.145 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.5316, allocations: 33.7 kB / 0.8837 GB, free: 9.105 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.5317, allocations: 164.2 kB / 0.8839 GB, free: 8.941 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.5318, allocations: 90.69 kB / 0.884 GB, free: 8.852 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.5319, allocations: 77.92 kB / 0.884 GB, free: 8.77 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.532, allocations: 346.7 kB / 0.8844 GB, free: 8.422 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009424/0.533, allocations: 196.3 kB / 0.8846 GB, free: 8.23 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009882/0.534, allocations: 263 kB / 0.8848 GB, free: 7.953 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.5359, allocations: 434.8 kB / 0.8852 GB, free: 7.52 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5359, allocations: 0 / 0.8852 GB, free: 7.52 MB / 0.7013 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006372/0.5423, allocations: 0.8927 MB / 0.8861 GB, free: 6.613 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5423, allocations: 8 kB / 0.8861 GB, free: 6.605 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.5423, allocations: 0 / 0.8861 GB, free: 6.605 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.544, allocations: 285.3 kB / 0.8864 GB, free: 6.32 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.5445, allocations: 63.89 kB / 0.8864 GB, free: 6.258 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.5577, allocations: 4.08 MB / 0.8904 GB, free: 1.891 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.5585, allocations: 83.53 kB / 0.8905 GB, free: 1.809 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.5586, allocations: 15.97 kB / 0.8905 GB, free: 1.793 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 29 * 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.0001875/0.5588, allocations: 137.8 kB / 0.8906 GB, free: 1.648 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.5588, allocations: 35.62 kB / 0.8907 GB, free: 1.613 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006673/0.5655, allocations: 0.9576 MB / 0.8916 GB, free: 0.6484 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5655, allocations: 0 / 0.8916 GB, free: 0.6484 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5656, allocations: 4 kB / 0.8916 GB, free: 0.6445 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5656, allocations: 3.984 kB / 0.8916 GB, free: 0.6406 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.566, allocations: 420.6 kB / 0.892 GB, free: 184 kB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.566, allocations: 0 / 0.892 GB, free: 184 kB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.5664, allocations: 59.89 kB / 0.8921 GB, free: 124 kB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.5681, allocations: 273.4 kB / 0.8923 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.5682, allocations: 15.97 kB / 0.8924 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.5812, allocations: 4.076 MB / 0.8963 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5812, allocations: 0 / 0.8963 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006439/0.5877, allocations: 0.9585 MB / 0.8973 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.5878, allocations: 120.4 kB / 0.8974 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.5878, allocations: 12 kB / 0.8974 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.5885, allocations: 43.95 kB / 0.8974 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.5886, allocations: 23.95 kB / 0.8975 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.5887, allocations: 19.91 kB / 0.8975 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002042/0.5889, allocations: 231.1 kB / 0.8977 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5889, allocations: 0 / 0.8977 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005172/0.5894, allocations: 111.9 kB / 0.8978 GB, free: 9.922 MB / 0.7169 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 (25): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.000189/0.5896, allocations: 119.2 kB / 0.8979 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002662/0.5923, allocations: 0.7391 MB / 0.8986 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5923, allocations: 0 / 0.8986 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.5937, allocations: 0.5049 MB / 0.8991 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.5944, allocations: 105.2 kB / 0.8992 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.5967, allocations: 0.6877 MB / 0.8999 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.597, allocations: 0.7684 MB / 0.9007 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004351/0.5974, allocations: 82.81 kB / 0.9007 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.5976, allocations: 35.42 kB / 0.9008 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of SimCode: time 1.392e-06/0.5976, allocations: 0 / 0.9008 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of Templates: time 0.2906/0.8881, allocations: 13.55 MB / 0.914 GB, free: 181.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)