Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.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 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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004956/0.004956, allocations: 104.2 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.0009574/0.0009574, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.168/1.168, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.367/1.367, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001302/0.001302, allocations: 70.08 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 104.7 MB / 0.828 GB, free: 236 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.523/0.6888, allocations: 163 MB / 0.9872 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.004594/0.6935, allocations: 3.313 MB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.6939, allocations: 18.56 kB / 0.9904 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.6948, allocations: 285.3 kB / 0.9907 GB, free: 12.19 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001917/0.6967, allocations: 0.8919 MB / 0.9916 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.6975, allocations: 459.2 kB / 0.992 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.6986, allocations: 1.143 MB / 0.9931 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/0.6989, allocations: 334.7 kB / 0.9934 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005384/0.6995, allocations: 444.1 kB / 0.9939 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000731/0.7002, allocations: 349.5 kB / 0.9942 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.7003, allocations: 41.62 kB / 0.9942 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009449/0.7012, allocations: 0.6825 MB / 0.9949 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.7014, allocations: 177.1 kB / 0.9951 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.7017, allocations: 277.7 kB / 0.9953 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009236/0.7026, allocations: 0.9379 MB / 0.9963 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7026, allocations: 0 / 0.9963 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7026, allocations: 0 / 0.9963 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.7026, allocations: 0 / 0.9963 GB, free: 8.555 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001184/0.7038, allocations: 0.8649 MB / 0.9971 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7039, allocations: 9.719 kB / 0.9971 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.7049, allocations: 149.4 kB / 0.9973 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.7056, allocations: 0.493 MB / 0.9977 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.7057, allocations: 25.28 kB / 0.9978 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.755e-05/0.7057, allocations: 32.47 kB / 0.9978 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.7063, allocations: 327.3 kB / 0.9981 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.7063, allocations: 3.938 kB / 0.9981 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.7063, allocations: 10.66 kB / 0.9981 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.7064, allocations: 14.62 kB / 0.9981 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.7068, allocations: 227.1 kB / 0.9983 GB, free: 6.973 MB / 0.7481 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.001894/0.7087, allocations: 1.413 MB / 0.9997 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.709, allocations: 216.3 kB / 0.9999 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.7092, allocations: 115.8 kB / 1 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.7093, allocations: 6.5 kB / 1 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.7095, allocations: 165.2 kB / 1 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.953e-06/0.7095, allocations: 0 / 1 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.00262/0.7122, allocations: 1.151 MB / 1.001 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.7122, allocations: 54.09 kB / 1.001 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.7126, allocations: 457.2 kB / 1.002 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.7127, allocations: 35.8 kB / 1.002 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.7128, allocations: 237.8 kB / 1.002 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.334e-05/0.7129, allocations: 102.3 kB / 1.002 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.713, allocations: 82.47 kB / 1.002 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7132, allocations: 349 kB / 1.003 GB, free: 3.57 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.7134, allocations: 134.1 kB / 1.003 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.7136, allocations: 192.8 kB / 1.003 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.714, allocations: 323.3 kB / 1.003 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.714, allocations: 0 / 1.003 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008384/0.7149, allocations: 0.4901 MB / 1.004 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7149, allocations: 4.844 kB / 1.004 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7149, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/0.7152, allocations: 87.33 kB / 1.004 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.7155, allocations: 67.22 kB / 1.004 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.7172, allocations: 1.954 MB / 1.006 GB, free: 1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.7175, allocations: 13.22 kB / 1.006 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.7176, allocations: 17.5 kB / 1.006 GB, free: 0.9844 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.7178, allocations: 206.2 kB / 1.006 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.7178, allocations: 46.56 kB / 1.006 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.7179, allocations: 52.73 kB / 1.006 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.7179, allocations: 2.859 kB / 1.006 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7179, allocations: 3.984 kB / 1.006 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.718, allocations: 6.297 kB / 1.006 GB, free: 0.7422 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.7194, allocations: 1.008 MB / 1.007 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.7194, allocations: 10.95 kB / 1.007 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.7197, allocations: 64.53 kB / 1.007 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.72, allocations: 84.88 kB / 1.007 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.7201, allocations: 6.469 kB / 1.007 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.7212, allocations: 1.646 MB / 1.009 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7213, allocations: 3.938 kB / 1.009 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.7222, allocations: 0.5891 MB / 1.009 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.7223, allocations: 155.2 kB / 1.01 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.7224, allocations: 17.88 kB / 1.01 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.7227, allocations: 15.39 kB / 1.01 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.7228, allocations: 15.81 kB / 1.01 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.7228, allocations: 18.33 kB / 1.01 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002767/0.7231, allocations: 302.3 kB / 1.01 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7231, allocations: 0 / 1.01 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004482/0.7236, allocations: 128.6 kB / 1.01 GB, free: 13.51 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008876/0.7245, allocations: 439.1 kB / 1.01 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008201/0.7253, allocations: 465.3 kB / 1.011 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7253, allocations: 1.781 kB / 1.011 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.7256, allocations: 257 kB / 1.011 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.7266, allocations: 240.2 kB / 1.011 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.728, allocations: 1.008 MB / 1.012 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.7284, allocations: 0.8558 MB / 1.013 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002539/0.7286, allocations: 89.62 kB / 1.013 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.7287, allocations: 42.73 kB / 1.013 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of SimCode: time 2.71e-07/0.7287, allocations: 4 kB / 1.013 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of Templates: time 0.01302/0.7418, allocations: 8.943 MB / 1.022 GB, free: 5.629 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)