Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001367/0.001367, allocations: 191 kB / 16.25 MB, free: 6.625 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.563/1.563, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.6578/0.6578, allocations: 95.47 MB / 364.9 MB, free: 10.07 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.001375/0.001375, allocations: 67.81 kB / 444.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3891, allocations: 69.08 MB / 0.5019 GB, free: 17.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5807/0.9698, allocations: 175.6 MB / 0.6733 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.9733, allocations: 1.37 MB / 0.6747 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004557/0.9738, allocations: 14.31 kB / 0.6747 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.9746, allocations: 174.6 kB / 0.6749 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.9772, allocations: 0.8334 MB / 0.6757 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.9785, allocations: 430.2 kB / 0.6761 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001424/0.98, allocations: 0.8663 MB / 0.6769 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.9804, allocations: 244.1 kB / 0.6772 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.981, allocations: 345.6 kB / 0.6775 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.982, allocations: 299.2 kB / 0.6778 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.9821, allocations: 35.28 kB / 0.6778 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.9842, allocations: 0.9216 MB / 0.6787 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.9844, allocations: 127.3 kB / 0.6788 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.9847, allocations: 213.2 kB / 0.679 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.9864, allocations: 1.011 MB / 0.68 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9865, allocations: 4 kB / 0.68 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9865, allocations: 0 / 0.68 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.9865, allocations: 0 / 0.68 GB, free: 10.47 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001292/0.9878, allocations: 0.7635 MB / 0.6808 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.9878, allocations: 17.92 kB / 0.6808 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.988, allocations: 41.72 kB / 0.6808 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.9888, allocations: 447 kB / 0.6812 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.9889, allocations: 18.75 kB / 0.6813 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.9889, allocations: 25.64 kB / 0.6813 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.9894, allocations: 252.9 kB / 0.6815 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.9894, allocations: 6.078 kB / 0.6815 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.9895, allocations: 14 kB / 0.6815 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.9895, allocations: 4.812 kB / 0.6816 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.9899, allocations: 242.9 kB / 0.6818 GB, free: 9.484 MB / 0.4981 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.001721/0.9917, allocations: 1.284 MB / 0.683 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.9921, allocations: 216.2 kB / 0.6832 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.9923, allocations: 121.4 kB / 0.6834 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.9928, allocations: 459.2 kB / 0.6838 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.9929, allocations: 37 kB / 0.6838 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.9929, allocations: 0 / 0.6838 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.005304/0.9982, allocations: 1.571 MB / 0.6854 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.9982, allocations: 56.66 kB / 0.6854 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.9986, allocations: 321.3 kB / 0.6857 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.9986, allocations: 31.73 kB / 0.6858 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.9988, allocations: 180.2 kB / 0.6859 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/0.9989, allocations: 108.6 kB / 0.686 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.999, allocations: 64.72 kB / 0.6861 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.9991, allocations: 350.3 kB / 0.6864 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.9993, allocations: 124.2 kB / 0.6866 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.9996, allocations: 177.8 kB / 0.6867 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006569/1.006, allocations: 1.347 MB / 0.688 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.006, allocations: 4 kB / 0.688 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009168/1.007, allocations: 472.3 kB / 0.6885 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.007, allocations: 7.438 kB / 0.6885 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.007, allocations: 0 / 0.6885 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/1.007, allocations: 84.83 kB / 0.6886 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.008, allocations: 71.61 kB / 0.6886 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/1.01, allocations: 1.908 MB / 0.6905 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/1.01, allocations: 24.88 kB / 0.6905 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/1.01, allocations: 11.73 kB / 0.6905 GB, free: 4.211 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 33 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000391/1.01, allocations: 218.6 kB / 0.6908 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/1.011, allocations: 37.88 kB / 0.6908 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/1.012, allocations: 479 kB / 0.6912 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.012, allocations: 3.094 kB / 0.6912 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.012, allocations: 0 / 0.6912 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/1.012, allocations: 6.703 kB / 0.6913 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/1.013, allocations: 1.075 MB / 0.6923 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.013, allocations: 7 kB / 0.6923 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/1.014, allocations: 77.42 kB / 0.6924 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/1.014, allocations: 78.41 kB / 0.6925 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/1.014, allocations: 12.19 kB / 0.6925 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/1.016, allocations: 1.652 MB / 0.6941 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.016, allocations: 0 / 0.6941 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.017, allocations: 0.6678 MB / 0.6947 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/1.017, allocations: 152.7 kB / 0.6949 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/1.017, allocations: 17.48 kB / 0.6949 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/1.017, allocations: 13.22 kB / 0.6949 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.017, allocations: 25.27 kB / 0.6949 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/1.017, allocations: 17.22 kB / 0.695 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002618/1.018, allocations: 230.5 kB / 0.6952 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.018, allocations: 3.938 kB / 0.6952 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000939/1.019, allocations: 207.7 kB / 0.6954 GB, free: 1.352 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * 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 (33): * Single equations (assignments): 32 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006647/1.019, allocations: 297.2 kB / 0.6957 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008386/1.02, allocations: 471.8 kB / 0.6961 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.02, allocations: 192 / 0.6961 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/1.02, allocations: 291.8 kB / 0.6964 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.022, allocations: 230.4 kB / 0.6966 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/1.024, allocations: 1.07 MB / 0.6976 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/1.024, allocations: 0.8073 MB / 0.6984 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000424/1.025, allocations: 80.2 kB / 0.6985 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/1.025, allocations: 39.08 kB / 0.6986 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/1.025, allocations: 0 / 0.6986 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.01869/1.043, allocations: 10.47 MB / 0.7088 GB, free: 9.188 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)