Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009318/0.0009318, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009323/0.0009323, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.181/1.181, allocations: 205.1 MB / 222 MB, free: 4.77 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.325/1.325, allocations: 251.6 MB / 0.5088 GB, free: 3.262 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.00116/0.00116, allocations: 71.89 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3904, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1361/0.5265, allocations: 160.2 MB / 0.8803 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003712/0.5303, allocations: 2.947 MB / 0.8832 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003474/0.5306, allocations: 11.94 kB / 0.8832 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.5312, allocations: 183.1 kB / 0.8833 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.5326, allocations: 0.7275 MB / 0.884 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.5332, allocations: 334.9 kB / 0.8844 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.5343, allocations: 1.294 MB / 0.8856 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.5346, allocations: 236 kB / 0.8859 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.535, allocations: 302.7 kB / 0.8861 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006612/0.5357, allocations: 297 kB / 0.8864 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/0.5357, allocations: 16 kB / 0.8864 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5367, allocations: 0.7481 MB / 0.8872 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.5369, allocations: 119.5 kB / 0.8873 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.537, allocations: 195 kB / 0.8875 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008091/0.5379, allocations: 0.7984 MB / 0.8883 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5379, allocations: 0 / 0.8883 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5379, allocations: 0 / 0.8883 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5379, allocations: 0 / 0.8883 GB, free: 4.105 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000963/0.5389, allocations: 0.7244 MB / 0.889 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.5389, allocations: 8.031 kB / 0.889 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009384/0.5398, allocations: 139.4 kB / 0.8891 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.5403, allocations: 402.3 kB / 0.8895 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.5403, allocations: 20.56 kB / 0.8895 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.5404, allocations: 24 kB / 0.8895 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.5408, allocations: 283.7 kB / 0.8898 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5408, allocations: 0 / 0.8898 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.5408, allocations: 15.94 kB / 0.8898 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.5409, allocations: 8.562 kB / 0.8898 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.5412, allocations: 198.1 kB / 0.89 GB, free: 2.207 MB / 0.7012 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.001449/0.5426, allocations: 1.334 MB / 0.8913 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.543, allocations: 202.9 kB / 0.8915 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.5431, allocations: 84.83 kB / 0.8916 GB, free: 448 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.5432, allocations: 4 kB / 0.8916 GB, free: 444 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.5432, allocations: 34.5 kB / 0.8916 GB, free: 400 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=19): time 1.252e-06/0.5432, allocations: 0 / 0.8916 GB, free: 400 kB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.0008193/0.544, allocations: 401.7 kB / 0.892 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.5441, allocations: 51.41 kB / 0.8921 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.5443, allocations: 300.6 kB / 0.8923 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5444, allocations: 37.7 kB / 0.8924 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5445, allocations: 196.3 kB / 0.8926 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.5445, allocations: 63.02 kB / 0.8926 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.5446, allocations: 45.7 kB / 0.8927 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.5447, allocations: 338.8 kB / 0.893 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.5448, allocations: 59.97 kB / 0.8931 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.5449, allocations: 122.8 kB / 0.8932 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.5451, allocations: 186 kB / 0.8933 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5451, allocations: 4 kB / 0.8933 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003232/0.5455, allocations: 251.2 kB / 0.8936 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5455, allocations: 8 kB / 0.8936 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5455, allocations: 0 / 0.8936 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.5455, allocations: 4 kB / 0.8936 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.5457, allocations: 43.98 kB / 0.8936 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5457, allocations: 4.125 kB / 0.8936 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.546, allocations: 31.78 kB / 0.8937 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.546, allocations: 7.984 kB / 0.8937 GB, free: 14.16 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.5462, allocations: 161.8 kB / 0.8938 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.5462, allocations: 35.56 kB / 0.8939 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.066e-05/0.5463, allocations: 39.08 kB / 0.8939 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5463, allocations: 3.938 kB / 0.8939 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5463, allocations: 4 kB / 0.8939 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5463, allocations: 0 / 0.8939 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.5468, allocations: 413.2 kB / 0.8943 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5468, allocations: 3.938 kB / 0.8943 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.547, allocations: 35.98 kB / 0.8943 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.5471, allocations: 36.83 kB / 0.8944 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.5472, allocations: 11.98 kB / 0.8944 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009519/0.5481, allocations: 1.401 MB / 0.8958 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5481, allocations: 0 / 0.8958 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.5486, allocations: 415.9 kB / 0.8962 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5488, allocations: 124.8 kB / 0.8963 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.5488, allocations: 8 kB / 0.8963 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.5491, allocations: 28.48 kB / 0.8963 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.5491, allocations: 7.984 kB / 0.8963 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.5491, allocations: 8 kB / 0.8963 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000179/0.5493, allocations: 227 kB / 0.8965 GB, free: 11 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5493, allocations: 3.938 kB / 0.8965 GB, free: 11 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000369/0.5497, allocations: 103.8 kB / 0.8966 GB, free: 10.89 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001423/0.5499, allocations: 119.2 kB / 0.8968 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.5501, allocations: 159.8 kB / 0.8969 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5501, allocations: 4 kB / 0.8969 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.5504, allocations: 198.6 kB / 0.8971 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.5512, allocations: 190.6 kB / 0.8973 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5523, allocations: 0.8542 MB / 0.8981 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5526, allocations: 0.8037 MB / 0.8989 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002342/0.5528, allocations: 58.92 kB / 0.899 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.5529, allocations: 31.44 kB / 0.899 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.5529, allocations: 0 / 0.899 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.008904/0.5618, allocations: 6.014 MB / 0.9049 GB, free: 2.527 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)