Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 105.4 kB / 15.7 MB, free: 24 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.001921/0.001921, allocations: 187.1 kB / 16.64 MB, free: 6.594 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.343/1.343, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.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.001395/0.001395, allocations: 68.28 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2121, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03122/0.2434, allocations: 35.25 MB / 0.8186 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008844/0.2523, allocations: 6.8 MB / 0.8252 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008445/0.2532, allocations: 47.62 kB / 0.8252 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.2543, allocations: 0.4889 MB / 0.8257 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002646/0.257, allocations: 1.271 MB / 0.827 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.2592, allocations: 1.035 MB / 0.828 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002387/0.2616, allocations: 2.235 MB / 0.8302 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009396/0.2625, allocations: 0.7805 MB / 0.8309 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.2643, allocations: 1.008 MB / 0.8319 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007451/0.265, allocations: 0.6417 MB / 0.8325 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.2652, allocations: 84 kB / 0.8326 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.267, allocations: 0.9826 MB / 0.8336 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.2672, allocations: 211.2 kB / 0.8338 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.2676, allocations: 0.5248 MB / 0.8343 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.2694, allocations: 1.694 MB / 0.8359 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2695, allocations: 0 / 0.8359 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2695, allocations: 0 / 0.8359 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.2695, allocations: 0 / 0.8359 GB, free: 7.531 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002106/0.2716, allocations: 1.362 MB / 0.8373 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2716, allocations: 12.03 kB / 0.8373 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.2741, allocations: 434.9 kB / 0.8377 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.2755, allocations: 0.9429 MB / 0.8386 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.2756, allocations: 45.31 kB / 0.8387 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.2757, allocations: 60 kB / 0.8387 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.2775, allocations: 0.8241 MB / 0.8395 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2775, allocations: 7.938 kB / 0.8395 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.353e-05/0.2776, allocations: 24 kB / 0.8396 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2776, allocations: 12 kB / 0.8396 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.2799, allocations: 0.7856 MB / 0.8403 GB, free: 2.887 MB / 0.6544 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.005401/0.2853, allocations: 4.648 MB / 0.8449 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.2891, allocations: 0.826 MB / 0.8457 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.2901, allocations: 363.5 kB / 0.846 GB, free: 12.65 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/0.2909, allocations: 0.9337 MB / 0.8469 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.291, allocations: 46.48 kB / 0.847 GB, free: 11.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.291, allocations: 0 / 0.847 GB, free: 11.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003263/0.2942, allocations: 1.022 MB / 0.848 GB, free: 10.43 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2943, allocations: 55.41 kB / 0.848 GB, free: 10.37 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.2951, allocations: 0.72 MB / 0.8487 GB, free: 9.641 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.2952, allocations: 37.7 kB / 0.8488 GB, free: 9.598 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.2955, allocations: 451.9 kB / 0.8492 GB, free: 9.148 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2956, allocations: 126.1 kB / 0.8493 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.2958, allocations: 110.1 kB / 0.8494 GB, free: 8.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.2959, allocations: 326 kB / 0.8497 GB, free: 8.586 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.2969, allocations: 326.8 kB / 0.85 GB, free: 8.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.2981, allocations: 0.5039 MB / 0.8505 GB, free: 7.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.3002, allocations: 0.7299 MB / 0.8513 GB, free: 6.891 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3002, allocations: 4 kB / 0.8513 GB, free: 6.887 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002416/0.3026, allocations: 0.8548 MB / 0.8521 GB, free: 6.023 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3027, allocations: 15.92 kB / 0.8521 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3027, allocations: 4.562 kB / 0.8521 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.3027, allocations: 12 kB / 0.8521 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/0.3036, allocations: 175.8 kB / 0.8523 GB, free: 5.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3037, allocations: 15.94 kB / 0.8523 GB, free: 5.805 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008008/0.3045, allocations: 111.4 kB / 0.8524 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.3045, allocations: 31.98 kB / 0.8524 GB, free: 5.664 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001236/0.3058, allocations: 0.4893 MB / 0.8529 GB, free: 5.172 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001169/0.307, allocations: 0.5035 MB / 0.8534 GB, free: 4.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002026/0.309, allocations: 0.7222 MB / 0.8541 GB, free: 3.809 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.309, allocations: 3.984 kB / 0.8541 GB, free: 3.805 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002402/0.3114, allocations: 0.8512 MB / 0.855 GB, free: 2.945 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3114, allocations: 11.94 kB / 0.855 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3115, allocations: 4 kB / 0.855 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.3115, allocations: 4 kB / 0.855 GB, free: 2.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/0.3124, allocations: 199.9 kB / 0.8552 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3124, allocations: 4 kB / 0.8552 GB, free: 2.727 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008618/0.3133, allocations: 111.6 kB / 0.8553 GB, free: 2.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.3133, allocations: 27.92 kB / 0.8553 GB, free: 2.59 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 55 * 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.0002058/0.3135, allocations: 211.4 kB / 0.8555 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.3137, allocations: 86.91 kB / 0.8556 GB, free: 2.293 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.3165, allocations: 0.937 MB / 0.8565 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.3165, allocations: 7.984 kB / 0.8565 GB, free: 1.348 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3165, allocations: 0 / 0.8565 GB, free: 1.348 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3165, allocations: 0 / 0.8565 GB, free: 1.348 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.3204, allocations: 1.828 MB / 0.8583 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3204, allocations: 3.938 kB / 0.8583 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/0.3212, allocations: 143.9 kB / 0.8584 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.3212, allocations: 3.984 kB / 0.8584 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.3213, allocations: 19.92 kB / 0.8585 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.3213, allocations: 0 / 0.8585 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3213, allocations: 4.188 kB / 0.8585 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/0.3248, allocations: 1.385 MB / 0.8598 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.3251, allocations: 235.8 kB / 0.86 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3252, allocations: 12 kB / 0.86 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/0.3259, allocations: 67.97 kB / 0.8601 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.326, allocations: 35.89 kB / 0.8601 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.326, allocations: 19.92 kB / 0.8602 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005924/0.3266, allocations: 0.5029 MB / 0.8607 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3267, allocations: 0 / 0.8607 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001173/0.3278, allocations: 431 kB / 0.8611 GB, free: 12.56 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006043/0.3284, allocations: 318.1 kB / 0.8614 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00345/0.3319, allocations: 1.166 MB / 0.8625 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3319, allocations: 3.938 kB / 0.8625 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.3331, allocations: 407.5 kB / 0.8629 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.3345, allocations: 356.5 kB / 0.8632 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005861/0.3404, allocations: 1.905 MB / 0.8651 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.3408, allocations: 0.9621 MB / 0.866 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007567/0.3416, allocations: 220.9 kB / 0.8663 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3418, allocations: 83.39 kB / 0.8663 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of SimCode: time 3.71e-07/0.3418, allocations: 4 kB / 0.8663 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of Templates: time 0.02405/0.3659, allocations: 16.16 MB / 0.8821 GB, free: 7.207 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)